APPX is the Premier Development and Runtime Environment for Business Application Software
(Answer) (Category) FAQ's - APPX Software, Inc. : (Category) APPX Utility : (Category) APPX Development Environment : (Category) Other Application Design Questions :
I am trying to do a BEG READ/END READ, which nests a BEG READ/END READ on the same file
The way i have it setup is as follows:
BEG AT
END AT
BEG READ
STORE
BEG AT
END AT
BEG READ
END READ
RESTORE
END READ

It will not work because BEG AT/END AT and BEG READ/END READ share the same stream buffer. What will work however, is the following scheme:
BEG AT
AND AT

LABEL: DO SOMETHING
READNEXT
BEG AT
END AT
BEG READ
.
.
END READ
GOTO DO SOMETHING

 
This way, you will have 2 streams open because READNEXT opens up a second stream buffer and you can BEG AT/END AT and BEG/READ/END READ on the same file.
[Append to This Answer]
2004-Sep-15 9:05am
Previous: (Answer) Will a automatic child process run if auto update is set to "Y", even if include children = No
Next: (Answer) Recording Macros on Unix
This document is: http://board.appx.com/cgi-bin/fom.cgi?file=533
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
Copyright 2003 by APPX Software, Inc. All rights reserved.