Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Const?
If I declare "Const foo as Integer = 123", does that allocate storage?
Or does that create a compile-time constant that replaces "foo" wherever it is used in executable statements? If the latter, is "Const foo as Integer = 123*456" and "x = foo" more efficient than "x = 123*456"? In particular, does the compiler treat "x = foo" as "x = 56088"? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Const and VBA values | Excel Programming | |||
Public Const & RowSource | Excel Programming | |||
Const Array | Excel Programming | |||
Not recognizing a Const | Excel Programming | |||
crash changing const to public const | Excel Programming |