DATA statement question

by (no login)

do DATA statements HAVE to be in the main sub of a program or can we place them anywhere within program?

Posted on Jan 16, 2010, 9:00 PM

Respond to this message   

Return to Index

Response TitleAuthor and Date
DATA statements MUST appear in the main program.Solitaire on Jan 16
 thats a bummer.... on Jan 17
  * I suggest you place the data into text files and load them into memory as needed.Solitaire on Jan 17
   i would but... on Jan 17
    Files would work better than DATA. DATA consumes valuable space. on Jan 17
     i know DATA will take up space. on Jan 17
      i forgot to add.. on Jan 17
       Let me save you a lot of hell... on Jan 17
        few QB64 questions on Jan 17
         Yes to both. You can also continue to program in the QB IDE. on Jan 17
         32 bit is good. Try it and see. It should work! on Jan 17
      *You could put all the files in a folder and ZIP them up to send to people.Solitaire on Jan 17
       My hunch is, Solitaire, (and an alternative for Mike) is that since it is a game... on Jan 17
        exactly pete on Jan 17
         You could use ASCII encryption on Jan 17
          If you use that, just be sure you don't have a CHR$(26) in your data... on Jan 17
           I normally only change letter\number codes from 48 up. I leave lowers alone. on Jan 17

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement