@RECORD is used within basic in conjunction with the ITYPE function. If you wish to execute an I-Type dictionary entry within a Basic program and that I-Type accesses data, then the data must be present in the system variable @RECORD. You would have to open the file read the data item into @RECORD and then execute the I-Type. Help BASIC ITYPE for more and better explainations.
Tom Dodds -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik Sent: Monday, June 13, 2005 8:17 PM To: U2-users (E-mail) Subject: [U2] [UV] Help with @RECORD UV 9.6.1.3 on W2K. What's the right way to use @RECORD? I can do- OPEN '','A-VALID-FILENAME' THEN NULL ...after which @STDFIL is populated with the file handle. Then, I can do- READ @RECORD FROM 'RECORD-ID' THEN NULL ...after which @RECORD is a dynamic array of whatever corresponds to 'RECORD-ID' in 'A-VALID-FILENAME'. But having to directly reference @RECORD seems like it defeats the purpose of a 'default record'. Is there a RIGHT way to populate @RECORD? I've tried a number of ideas that did not work. It would also be cool if you could get TRANS() to populate @RECORD, but it does not seem to. Barry ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
