include include # UIPL3? -- put a data line to an apparently 3-d file procedure uipl3$t (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 PIXEL buffer[ARB] # user's buffer to be transfered to imio buffer int istat # return status code pointer ip, impl3$t() begin istat = ER_OK # call imio to get an imio buffer area iferr (ip = impl3$t(im, linenum, bandnum)) {istat = ER_IMWRITE return } # load the user's array into imio buffer call amov$t (buffer, Mem$t[ip], IM_LEN(im,1)) end