QB4.5/VBDOS 1.0 External TYPE variable

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
Harry Potter
Posts: 111
Joined: Sat Feb 21, 2009 8:19 am
Location: New York, U.S.

QB4.5/VBDOS 1.0 External TYPE variable

Post by Harry Potter » Fri Jul 01, 2011 4:14 pm

In ANSI/ISO C, I can use a pointer to access a variable that is external to the program. I am working on an IDE in VBDOS with a stub written in C. I could simply store environment data in a file on the hard drive and load it after each IDE command, but doing it would be slow. I could use POKE/PEEK to copy data to and from the data as allocated by the stub, but this would be even slower and inconvenient. Any better ideas?
Joseph Rose, a.k.a. Harry Potter
Creating magic in the computer community...or at least striving to! :(

Post Reply