Chapter 13 Device Logic (Pawn)
l
In most cases, the forward declarations of functions (i.e. prototypes) are not necessary. A pawn is a
two-pass compiler. It detects all of the functions during the first cycle and uses them during the second.
User-defined operators must however be declared before use. If available, forward declarations must
be exactly the same as the definition of the function. The parameter names in the prototypes and the
definitions of the functions must be identical. The pawn attends to the parameter name in the prototype
due to the "named parameter" function. The pawn uses prototypes to call up the forward declared
functions. To use these with the named parameters during this process, the compiler must already
know the names of the parameters (and their position in the parameter list). The parameter names in
the prototypes must therefore match those in the definitions.
Rev. 05
233
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......