RAN.RD - ***DELETED*** use READ/WRITE.

Usage:

ran.rd( name, buf );
ran.wr( name, buf );

Description:

RAN.RD and RAN.WR allow disc file input and output (respectively) from programs.

"Name" is a vector with "name[0]" and "name[1]" containing the lower case ASCII name of the file (the AFT name). "Name[2]" contains the (64-word) sector number from which the I/O is to start. This is only effective for random files. The sector number starts from zero, and there are five sectors per llink.

"Buffer" is a 320 word vector into which (input) or from which (output) the data is to be read or written. I/O with these routines always involves exactly 320 words.

Copyright © 1996, Thinkage Ltd.