Jump to content

Introspection: Difference between revisions

m
→‎{{PowerBASIC}}: spelling error
(Added FreeBASIC)
m (→‎{{PowerBASIC}}: spelling error)
Line 1,554:
PowerBASIC has no way of determining if a variable "exists" in code. If variable declaration is required (using <code>#DIM ALL</code>), then any attempt to use a variable without declaring it will result in a failed compile; if variable declaration is ''not'' required, then the first time the program accesses the variable it is automatically created with the default data type (which is set using <code>DEFtype</code>).
 
The compiler directive <code>#COMPILER</code>, introduced with PB/Win 8 and PB/CC <!--uncertain version here--> 4, will fail the compile if the compiler does not match at least one of the listed comilerscompilers, and is not at least the (optional) minimum version of that compiler.
 
<lang powerbasic>#COMPILER PBWIN 9
1,150

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.