home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / dos / tools / aurora21 / helplang.aml < prev    next >
Text File  |  1995-08-10  |  3KB  |  116 lines

  1. // -------------------------------------------------------------------
  2. // The Aurora Editor v2.1
  3. // Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
  4. //
  5. // Language Reference Help Topics Menu
  6. //
  7. // This macro displays a popup menu of Language Reference topics.
  8. // Selecting a topic will display the Language Reference and position
  9. // the cursor to the selected topic.
  10. // -------------------------------------------------------------------
  11.  
  12.   // compile time macros and function definitions
  13.   include bootpath "define.aml"
  14.  
  15.   // create an inline help topics buffer
  16.   databuf "helplang"
  17.     "Arithmetic Operators"
  18.     "Assignment Statement"
  19.     "Bitwise Operators"
  20.     "Bookmarks"
  21.     "Buffers"
  22.     "Case Statement"
  23.     "Command Line Macros"
  24.     "Comments"
  25.     "Compilation and Execution Functions"
  26.     "Control Statements"
  27.     "Conversions"
  28.     "Current Event Object"
  29.     "Cursors"
  30.     "Define Statement"
  31.     "Desktop"
  32.     "DOS Shell Functions"
  33.     "Events"
  34.     "Expressions"
  35.     "External Macros"
  36.     "File Handling Functions"
  37.     "File Manager Functions"
  38.     "Folds"
  39.     "Function Calls"
  40.     "Function Definitions"
  41.     "Function Return Values"
  42.     "Function Types"
  43.     "Identifiers"
  44.     "If and If? Statements"
  45.     "Include Statement"
  46.     "Internal Macros"
  47.     "Introduction"
  48.     "Iterative Statements"
  49.     "Key Event Names"
  50.     "Key Macro Functions"
  51.     "Keyboard"
  52.     "Library Object Hierarchies"
  53.     "Logical Operators"
  54.     "Macro Types"
  55.     "Marks"
  56.     "Menus"
  57.     "Miscellaneous Functions"
  58.     "Mouse Event Names"
  59.     "Mouse"
  60.     "Numbers"
  61.     "Object Definitions"
  62.     "Object Inheritance"
  63.     "Object Statements and Functions"
  64.     "Objects"
  65.     "On-Event Functions"
  66.     "Operator Precedence"
  67.     "Other Control Statements"
  68.     "Overview"
  69.     "Passing Arguments to Functions"
  70.     "Passing Variables by Reference"
  71.     "Primary Editing Functions"
  72.     "Prompt History"
  73.     "Prompts and Dialog Boxes"
  74.     "Regular Expression Searching"
  75.     "Relational Operators"
  76.     "Reserved Words"
  77.     "Search and Replace"
  78.     "Spaces"
  79.     "String Functions"
  80.     "String Operators"
  81.     "Strings"
  82.     "Syntax Highlighting"
  83.     "Syntax"
  84.     "System Functions"
  85.     "Timers"
  86.     "True and False"
  87.     "Undo and Redo"
  88.     "User Defined Events"
  89.     "Variable Declarations"
  90.     "Variables"
  91.     "Video Functions"
  92.     "Windows"
  93.   end
  94.  
  95.   // name the buffer so the menu position can be remembered
  96.   setbufname "helplang"
  97.  
  98.   // display the buffer in a popup menu and get the topic selected
  99.   topic = popup (getcurrbuf) "Language Reference Topics" 35
  100.  
  101.   // destroy the help topics buffer
  102.   destroybuf
  103.  
  104.   // display the selected topic
  105.   if topic then
  106.     open (getbootpath + "DOC\\" +
  107.             (if? topic [1:3] == "Reg" "REGEXP" "LANGUAGE") + ".DOX")
  108.     // make read/only
  109.     bufferflag 'r'
  110.     gotopos 1 1
  111.     if find topic + '' then
  112.       send "onfound" (sizeof topic)
  113.     end
  114.   end
  115.  
  116.