home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
gerald
/
5_05
/
ReadWrite
/
!!Read_me
< prev
next >
Wrap
Text File
|
1992-01-12
|
2KB
|
38 lines
Pipedream 4 is supplied with an example custom function to Read and
Write data to a "linking" file. This original custom function is
incomplete and has a couple of problems! (non-integer parameters
accepted - causing problem when calculating where to save data. Also
data block management/size is incorrect.)
Read_Writ6 is my "improved" version (v 1.06) of the above custom
function. It validates parameters supplied for read and write. It
also includes a function to reset the whole data block to a set value.
Read_Writ6 caters for 10 "linking file" references (0 to 9) each with a
block of 80 data items. It should be easy to adapt this to work for
files transferred from Viewsheet, View Professional, and Pipedreamá3.
It can easily be ammended to increase or reduce the number of data
blocks ("linking files").
Read_Write is a simplified version (v 2.00) of Read-Writ6 which does
not use the "file number" parameter (this has not been removed - syntax
remains compatible with previous versions) and has a single data block
of up to 800 items. I would suggest using this version for any new
files which do not require multiple "file" references.
EXAMPLES
To see how Read and Write work, load the examples from disc in the
order indicated by their filenames.
(Read_Writ6 is loaded automatically)
Take note of the warning in !Then_me6, and ensure full recalculation of
this sheet if anything is written to the "link" file after loading this
sheet!
D.A.Crossley 11:01:11 20 December 1991