Matrix Elements VB-800 Manuel d'utilisateur Page 158

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 172
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 157
150 Appendix A6 OxGauss Language Reference
A6.9.1 File inclusion
A line of the form
#include "filename";
will insert the contents of the specified file at that position. Escape sequences in strings
names are not interpreted. The string constant does not have to be enclosed in double
quotes (the string ends at the first space or semicolon, so use double quotes if the file-
name contains a space). The ending semicolon is optional. Both forward and backward
slashes may be used in filenames.
The file is searched for as follows:
(1) in the directory containing the source file (if just a filename, or a filename with
a relative path is specified), or in the specified directory (if the filename has an
absolute path);
(2) the directories specified on the compiler command line (if any);
(3) the directories specified in the OX3PATH environment string (or the default under
Windows).
(4) in the current directory.
A6.9.2 Conditional compilation
The first step in conditional compilation is to define (or undefine) identifiers:
#define identifier
#definecs identifier
#undef identifier
Identifiers so defined only exist during the scanning process of the input file, and
can subsequently be used by #ifdef and #ifndef preprocessor statements:
#ifdef identifier
#ifndef identifier
#else
#endif
Use #define to make a case insensitive definition and #definecs for a case sen-
sitive definition. Subsequently #undef, #ifdef, #ifndef will first search for a case
sensitive match, if that is not found, it will try to find a case insensitive definition.
Also defined are:
#ifDOS TRUE when running under Windows
#ifOS2WIN TRUE when running under Windows
#ifUNIX TRUE when running under UNIX
#ifLIGHT TRUE when running light version
#ifCPLX TRUE if complex matrices supported
#ifREAL TRUE if complex matrices not supported
#ifDLLCALL TRUE if DLL calls supported
Vue de la page 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 171 172

Commentaires sur ces manuels

Pas de commentaire