home *** CD-ROM | disk | FTP | other *** search
/ Magazyn WWW 1999 July / www_07_1999.iso / prez / amiga / awebedv1_2.lha / AWebEd / helpdocs / AMAL < prev    next >
Text File  |  1980-01-08  |  2KB  |  62 lines

  1. Back to MENU
  2. Back to ADVANCED functions
  3.  
  4.                        AWebEd Macro Language (AMAL)
  5.                        ----------------------------
  6.  
  7. Introduction:
  8. -------------
  9.  
  10. The items in the command lists are written in AMAL.  AMAL is a very
  11. simple language which allows a very high degree of customisation of
  12. AWebEd.  Currently AMAL is rather contrived, as I have only
  13. conceived commands as I have had a need for them.  Any ideas of new
  14. commands gratefully recieved!
  15.  
  16. If you generate generate any AMAL scripts which you may feel others
  17. would find useful, you can either distribute them yourself, or else
  18. send me a copy and I would be pleased to distribute it
  19. (acknowledged) with future releases of AWebEd.  Please read the
  20. AWebEd v1.0 license for more details regarding the distribution of
  21. an altered AWebEd v1.0 archive.
  22.  
  23. AMAL is not to be confused with the Amos Animation Language!
  24.  
  25. The AMAL command directories
  26. ----------------------------
  27.  
  28. The AMAL scripts are stored in five sub-directories of the directory
  29. "commands".  These sub-directories, by default, are called "Simple",
  30. "Navigation", "Text Styles", "Miscellaneous", and "Arexx".  These
  31. sub-directories may be renamed; AWebEd will adjust the interface
  32. appropriately.  Each of the five command lists is effectively a dump
  33. of the respective sub-directory.  Double clicking on any item in the
  34. command lists forces AWebEd to attempt to execute that AMAL script.
  35.  
  36. General
  37. -------
  38.  
  39. 1 - AMAL scripts can be composed in any ASCII text editor, such as
  40. Ed or AWebEd.
  41.  
  42. 2 - All AMAL commands MUST be written in CAPITALS, otherwise they
  43. will not be recognised.  All other text may be in capitals,
  44. lowercase, or mixed.  All commands, qualifiers, strings and integers
  45. must be seperated by a single space character.
  46.  
  47. 3 - No indentations are allowed.
  48.  
  49. 4 - AMAL scripts are executed sequentially.  Currently, no loops or
  50. logical operators are supported.  Only one AMAL statement per line
  51. of text is allowed.
  52.  
  53. 5 - If AWebEd cannot execute a line of the script, execution will
  54. halt and AWebEd will return the line number of the script that
  55. generated the error.
  56.  
  57. 6 - It is suggested that if the AMAL script is to be distributed, it
  58. is accompanied by documentation.  Instructions on how to do this is
  59. available in " Help DOCUMENTATION ".
  60.  
  61. On to COMMANDS
  62.