home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,063 of 10,840   
   Steve Gerrard to Stefanie   
   Re: Declaring variables and file for ran   
   06 Dec 04 18:50:54   
   
   XPost: comp.lang.basic.visual, comp.lang.basic.visual.misc   
   From: mynamehere@comcast.net   
      
   "Stefanie"  wrote in message   
   news:38251$41b43937$513b4d44$26882@news1.zonnet.nl...   
   | Steve,   
   |   
   | Thats the same as writing data to the file using Put, right ?   
   |   
   | Stefanie   
   |   
      
   I'm hoping you have access to help files and can look up Put. Its   
   behavior with variable length strings varies according to whether they   
   are in a UDT, and whether the file is opened Random or Binary.   
      
   As far as I can tell, Put will write a 2 byte length before writing a   
   variable length string to a file opened Random (UDT or not), which   
   allows Get to retrieve it correctly. The total record length would have   
   to be long enough for that. I don't believe you actually have to pad out   
   the string length unless you want to.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca