Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BHELP On-Line: CBRIEF Macro Help - int declares integer variables. within a macro, these are http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 int      Declares integer variables.  Within a macro, these are
          local, automatic variables visible only to the current
          macro. They can be made global using the 'global'
          modifier.  Initialization is allowed on the declaration
          line.

               int var_name1 [var_name2 ...];
               int var_name1 = 24;

 string   Declares string variables.  Within a macro, these are
          local, automatic variables visible only to the current
          macro. String variables have a maximum length of
          144 characters, or the maximum line length, whichever is
          greater.  They can be made blobal using the 'global'
          modifier.

               string var_name1, [var_name2 ...];

 global   Declares global variables. These variables can be used by
          any macro, including macros in other files. Global can be
          used by itself or as a modifier for 'int' and 'string'.
          Variables must be declared global in only one file.

               global name1 [name2] ...;
               global int num1 [num2] ...;
               global string str1 [str2] ...;

 extern   Declares variables (or macros) defined in other files.

               extern int1, int2;
               extern string1, string2;
               extern macro1(), macro2();


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson