Read() as a procedure
Posted: Fri Jul 08, 2005 6:42 pm
In keeping with the PB language format of Result = Procedure(arguments) you really need to make READ() a procedure.
That would allow:
This way data can be directly piped into some process.
In fact it would be good to go: Result = READ(MyData1) where "MyData is the DATA section. That way you could nest READ statements that reference different DATA section in the same line.
Thanks.
That would allow:
Code: Select all
restore MyData
IF FindString(Read(),".",1)
do something.
EndIf
In fact it would be good to go: Result = READ(MyData1) where "MyData is the DATA section. That way you could nest READ statements that reference different DATA section in the same line.
Thanks.