Page 259 - Make Your Own PCBs with EAGLE from Schematic Designs to Finished Boards
P. 259

APPENDIXC

                               User-Language Program Reference















  A           lthough  the  user-language  program  (ULP)  language  is  C-like,  it  is  not  exactly  C.  For


              example, the equivalent to the C “float” type is called “real” and there is no “boolean”
  type. This appendix gives a summary of the ULP language, in particular where it differs from the C

  syntax.
      You will find information on using ULPs in Chapter 10. You will also find the built-in help files
  of EAGLE (accessible from the Help menu) useful.





  Data Types



  The following primitive types are defined.























  Strings


  The  “string”  data  type  is  more  like  a  Java  “string”  class  than  a  C  character  array.  You  can

  concatenate strings using the + operator and also use a number of built-in functions to manipulate
  strings.
   254   255   256   257   258   259   260   261   262   263   264