Daniel Hudson was speaking to Garry Kubel about Re: # operator
Hi Daniel,
Are you sure about this?
SH> ... about # operator
GK> ... a bit of Power Basic code ...
DH> #include includes external header files ...
DH> #if, #ifdef, and #ifndef are conditional ...
DH> #define and #undef - define and undefine macros for use ...
DH> #line - can't remember
The functionality you describe is denoted by the "$" symbol in
PowerBASIC. Instructions to the compiler are preceeded with $.
$INCLUDE FileName$ - to include external TXT files as source
$IF, $ELSE, $ENDIF - conditional compilation
The "#" is used primarily as a FileNumber Identifier as in these:
OPEN "I", 1, FileName$
INPUT #1, Variable$
PRINT #1, String$
CLOSE #1
Are you describing the way it's done in C? I don't recognize the
conventions you describe.
Stan, just wondering
... Alabama Rule #19: Birmingham is the Steel Capital of the World
___ Blue Wave/QWK v2.12
--- PCBoard (R) v15.21/5
---------------
* Origin: The ACCESS System - Huntsville, Alabama (1:373/9)
|