TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: TIM HUTZLER
from: ERIC SCHONNING
date: 1996-08-12 00:00:00
subject: Re: UNION and ather triv

TH> Does FIELD have to be on one logical line?
 
I believe it does.  At least thats the way I've always done it...
 
 ES> cnt=13
 ES> ep=sp+val(numblk$)-1  'end pointer
 ES> for i=sp+1 to ep
 ES> get #1,i
 
TH> Does this automatically go to msgtxt$?
 
Yes it does.  Whenever you use GET with random files it will always
read in the amount specified by the LEN= option on the open statement,
which in this case is 128, and whose field statement is msgtxt$.  The
message will consist of 1 or more 128 byte blocks, hence the for loop
from sp (starting pointer) to ep (ending pointer).  
 
I imagine there is a way to port this over to TYPE statements, I just
haven't bothered to learn how to go from Field to Type yet as it
hasn't been important for anything I'm doing.       eric
--- QM v1.00
---------------
* Origin: Creekside Manor (805) 484-8016 CdCom Support BBS (1:206/2512.0)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.