Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CONFUSING ARTICLE: Random Access Files - By Cruzan Wallis
#4
Random is there only for backwards compatibility. It was the only way to have direct access to a file in QB versions 3.0 and below, Basic Compiler 5 and below, GWBASIC and BASICA. In QB 4.0 the BINARY mode was introduced, making the use of RANDOM unnecesary. The BINARY mode is way more flexible, faster and easier to use.

It is like when DO:LOOP was introduced. It extended the functionability of WHILE:WEND allowing "UNTIL" conditions and placing the condition at the end of the loop. WHILE:WEND is still there just for backwards compatibility, but it is no longer needed (although I still use it Tongue).
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Messages In This Thread
CONFUSING ARTICLE: Random Access Files - By Cruzan Wallis - by na_th_an - 05-10-2004, 05:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)