Qbasicnews.com

Full Version: define argument types in subs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
Is it different in those archives?
More or less. Some QB45 archives contain some of the older QB files like the Help File from QB30 (?). I first had it, I couldn't get any info about ABSOLUTE and INTERRUPT. Smile Here and there also the examples and other files are different.
did u see the latest release of qb45? It has complete archive of M$'s examples and stuff =P.
I saw it yes Smile It's available at QBNZ, so I must have seen it Wink
did you dl and try it? Its cool. I have a full version of qb7.1. Its cooler than qb45 =P.
Naah, QB71 didn't look good enough for me. I prefer 80x25 resolution (and no I can't change the 80x60 resolution of QB71), so I was really at once disgusted by the layout. Anyway, QB45 is also much better in libraries, which are what I like Wink
Quote:For me QB doesnt sneekily put a DEFSNG A-Z but a DEFINT A-Z.

I wonder why :o
If you've got a DEFINT statememnt in your main module, qb puts a simmilar statement in each sub/function (created after the inclusion on DEFINT)

e.g. If you write 2 subs, qb doesn't add any DEF... statement at the top of them. If you then add a DEFINT A-D statement in your main module, then qb adds a DEFINT A-D in each sub/function created then on. But it doesn't add it to the 2 subs created first.

e.g. if you've got something like:
DEFINT A-F
DEFLNG G-Q
DEFSTR X-Z
in your main module qb adds each DEF... statement to your subs/functions as they are created.
Quote:For me QB doesnt sneekily put a DEFSNG A-Z but a DEFINT A-Z.

I wonder why :o

Because you put

DEFINT A-Z

in your main module. ;*)
No, I havent put a DEFINT in my main module. It just appears out of the blue whenever I make a new SUB =P.
Quote:No, I havent put a DEFINT in my main module. It just appears out of the blue whenever I make a new SUB =P.
It could be in an included file Tongue
Pages: 1 2 3 4 5 6