Hm... Well looks like you've got access to a C-compiler...
Thu Feb 22, 2007 4:40pm
You can rewrite QB and add a CHAR datatype, or just live with the space penalty.
Oooh! Oooh! I know! You can create defined strings of every string that you can have, and then use those throughout your program. Think of the number of times you'll save four bytes!
*I like it. I NEED it. (nm)
Thu Feb 22 2007 9:00am
Hm... Well looks like you've got access to a C-compiler...-
Thu Feb 22 2007 4:40pm
Ahem, I do that. :P
Thu Mar 01 2007 7:11am
I declare all my variables in Qbasic. (well, all those that aren't frivolous in a sub or function). My single characters are defined as: DIM yesOrNo AS STRING * 1 see?
I see the declaration...
Fri Mar 02 2007 5:38pm
However, I think it's relatively pointless to declare all your QB variables. Oh, but you've not declared every string you'll ever use so you may still have to pay that 4 byte penalty.
*It keeps it neater and easier to keep track of.
Mon Mar 05 2007 10:26am
...plush C/C++ sort of drills it into your brain.
plush c/c++? Isn't that like Java?
Mon Mar 05 2007 1:25pm
Only thing is Java's plush where plain is required.
*Good humorous save. It was just simply a typo. (nm)
Fri Apr 20 2007 9:46am
*Java joke season never ends. (nm)
Fri Apr 20 2007 11:42pm
*That's just b/c the language itself is one. (nm)
Sun Apr 22 2007 5:35pm
Guy: I'd like two Java-mocha lattes, please.
Sun Apr 22 2007 8:03pm
One with sugar and one without. Other guy: I can't do that. You asked in the wrong way.
Click here to receive daily updates
"Forces act when not restrained"