I see you have not responded yet. Maybe you want a simpler answer.
COMMON SHARED variables take up space before every other SUB or FUNCTION.
If you do
COMMON SHARED x(1000) as string
or just
DIM SHARED x(1000) as string
then the amount of storage needed to support that array will be...
I found an ancient program, Monopoly, which was 101,060 characters long. I added a lot of functionality, such as a "boss-is-coming" feature yet nevertheless reduced it to 67,180 chars.
See history at
http://www.network54.com/Forum/190883/message/1156376791/Monopoly
The point: you probably...
The short answer is "No". There is no QBasic command such as "GC" (GOTO and Continue). If there were, you could code
PRINT "Start two processes"
CG ReadFile 'This will goto ReadFile but also immediately continue
OPEN "OutFile.dat" for output as #2
do
line input "Enter message to be saved: "...
The Append assumes you always want to add (only) never update or delete anything.
If you want the latter, you should open your file as input and open another file for output. When finished. close and then kill the original and rename the work file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.