include include # UIPL3? -- put a data line to an apparently 3-d file procedure uipl3x (im, linenum, bandnum, buffer, istat) pointer im # pointer to the image header file int linenum # line number to put to image int bandnum # band number to put to image complex buffer[ARB] # user's buffer to be transfered to imio buffer int istat # return status code pointer ip, impl3x() begin istat = ER_OK # call imio to get an imio buffer area iferr (ip = impl3x(im, linenum, bandnum)) {istat = ER_IMWRITE return } # load the user's array into imio buffer call amovx (buffer, Memx[ip], IM_LEN(im,1)) end