home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 August / PCWorld_2000-08_cd.bin / Software / TemaCD / xbasic / xbpro.exe / xb / xxx / prolog.xyz < prev    next >
Text File  |  1995-10-09  |  2KB  |  33 lines

  1. '
  2. ' ####################
  3. ' #####  PROLOG  #####
  4. ' ####################
  5. '
  6. PROGRAM    "progname"  ' 1-8 char program/file name without .x or any .extent
  7. VERSION    "0.0000"    ' version number - increment before saving altered program
  8. '
  9. ' You can stop the PDE from inserting the following PROLOG comment lines
  10. ' by removing them from the prolog.xxx file in your \xb\xxx directory.
  11. '
  12. ' Programs contain:  1: PROLOG          - no executable code - see below
  13. '                    2: Entry function  - start execution at 1st declared func
  14. ' * = optional       3: Other functions - everything else - all other functions
  15. '
  16. ' The PROLOG contains (in this order):
  17. ' * 1. Program name statement             PROGRAM "progname"
  18. ' * 2. Version number statement           VERSION "0.0000"
  19. ' * 3. Import library statements          IMPORT  "libName"
  20. ' * 4. Composite type definitions         TYPE <typename> ... END TYPE
  21. '   5. Internal function declarations     DECLARE/INTERNAL FUNCTION Func (args)
  22. ' * 6. External function declarations     EXTERNAL FUNCTION FuncName (args)
  23. ' * 7. Shared constant definitions        $$ConstantName = literal or constant
  24. ' * 8. Shared variable declarations       SHARED  variable
  25. '
  26. ' ******  Comment libraries in/out as needed  *****
  27. '
  28. '    IMPORT    "xma"   ' Math library     : SIN/ASIN/SINH/ASINH/LOG/EXP/SQRT...
  29. '    IMPORT    "xcm"   ' Complex library  : complex number library  (trig, etc)
  30. '    IMPORT    "xst"   ' Standard library : required by most programs
  31. '    IMPORT    "xgr"   ' GraphicsDesigner : required by GuiDesigner programs
  32. '    IMPORT    "xui"   ' GuiDesigner      : required by GuiDesigner programs
  33. '