Basic is assumed as simply programming tool. But It is able to make serious projects.
I meeted some ugly feature. Im debugging complex project. In the head is twisting algorithm. Syntax is often looses. I simply can make syntax error in variable name. Wrong named ones allocates and uses as normal. When I have 64 bit of ram, its signifucantly by amount of space. And when project runs, I have very interesting effects ))))))))))
Im requesting to make such autoallocation optionally or even turn off at all. Where I can ask it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
#Option ExplicitSyntax:#option explicitThisoptionensuresthatallvariablesaredimensionedintheuserprogram.Thescopeistheusercodeonlyandnoothercodespacelike.horincludefiles.#option explicit requires all variables,including bytes, in the user program to be defined.Variablescanbedefinedandnotusedwithinyouruserprogram.Unusedvariableswillnotallocatememory.Introduction:Example:'Set chip model#chip 16f877a'Example command#option explicitdimmyuserflagasbytemyuserflag=trueFormorehelp,seeVariableLifecycle
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Basic is assumed as simply programming tool. But It is able to make serious projects.
I meeted some ugly feature. Im debugging complex project. In the head is twisting algorithm. Syntax is often looses. I simply can make syntax error in variable name. Wrong named ones allocates and uses as normal. When I have 64 bit of ram, its signifucantly by amount of space. And when project runs, I have very interesting effects ))))))))))
Im requesting to make such autoallocation optionally or even turn off at all. Where I can ask it?
try this: