HELP ARRAYSET David Young April 1996 LIB * ARRAYSET provides one procedure for setting the values in a region of an array to a given constant. arrayset(___val, _____array, ______region) ___val is the value to store in every specified element of the array. It must me a suitable value - e.g. for a byte array ___val must be an integer in the range 0..255, for a float array ___val must be a real number, whilst for a full array ___val can be any Pop-11 object. _____array is an array of any number of dimensions. ______region is or a list giving a boundslist-type specification of the part of _____array whose contents are to be set. (See REF * ______ARRAYS for how boundslists work.) If ______region is then the boundslist of the array is used - i.e. every element of the array is set. Any array can be given as an argument, though the routine will be fastest if it is given a packed array of bytes (e.g. one created by *newbytearray) or of single-precision floats (e.g. one created by *newsfloatarray). The array can have any number of dimensions and can be offset in its arrayvector. --- ________________________$popvision/help/arrayset --- _________Copyright __________University __of ______Sussex _____1996. ___All ______rights _________reserved.