Advanced features

SIGI

Advanced features


Go to Table of contents, Top of this page, Units, C++ preprocessor, Bottom.

Units

complete list of units
defaults are bold
energyGeVMeVkeV
lengthmcmmmmym
angleraddeg

Go to Table of contents, Top of this page, Units, C++ preprocessor, Bottom.

C++ preprocessor

#include "file"
inserts contents of file.
#define MACRO_NAME
make MACRO_NAME known to the preprocessor, this is useful with e.g. #if directives.
#define MACRO_NAME value
does the same and in addition any occurrence of MACRO_NAME after this line is replaced by value.
#undef MACRO_NAME
inverse of #define
#if, #elif, #endif
conditionals have the folwing structure
#if test_1

   ini file text 1

#elif test_2

   ini file text 2

   .

   .

#elif test_n

   ini file text n

#endif
where test_i is of the form
#idef MACRO_NAME, #ifndef MACRO_NAME
same as #if defined(MACRO_NAME) and #if !defined(MACRO_NAME) respectively
#error token
write token to stdout.

Go to Table of contents, Top of this page, Units, C++ preprocessor, Bottom.


Questions ? Comments ! etc. to Rüdiger Groß-Hardt or Uwe Roß.



                                    last changed by Uwe Roß on 31 Jan 1996