July 11, 2020, 08:02:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
   Home   Help Search Login Register  
Pages: 1 [2]
Author Topic: Const....?  (Read 3657 times)
Posts: 2150

« Reply #15 on: November 19, 2003, 11:24:02 AM »

I'll just continue the thread... Wink

CONST: faster than DIM or any other declaration and in C++/C a constant is replaced by its value by the preprocessor (AFAIK this is also done in QB).

CONST: can be used in an include file, a sequence of DIM SHARED's and Var = value's can't be used in an include file.

CONST: can be used throughout your whole project, DIM SHARED only works in the current module.

Some extra info Smiley
Pages: 1 [2]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!