home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bila Vrana
/
BILA_VRANA.iso
/
028A
/
AUROR.ZIP
/
HELPLANG.AML
< prev
next >
Wrap
Text File
|
1996-07-17
|
3KB
|
132 lines
//--------------------------------------------------------------------
// HELPLANG.AML
// Language Reference Help Topics, (C) 1993-1996 by nuText Systems
//
// This macro displays a popup menu of Language Reference topics.
// Selecting a topic will display the Language Reference and position
// the cursor to the selected topic.
//
// Usage:
//
// Select this macro from the Macro List (on the Macro menu), or run it
// from the macro picklist <shift f12>.
//
// This macro can also be run by selecting Language Reference Topics
// from the Help menu.
//--------------------------------------------------------------------
// compile time macros and function definitions
include bootpath "define.aml"
// create an inline help topics buffer
databuf "helplang"
"Arithmetic Operators"
"Arrays"
"Assignment Statement"
"Bitwise Operators"
"Bookmarks"
"Buffers"
"Case Statement"
"Command Line Macros"
"Comments"
"Compilation and Execution Functions"
"Constant Statement"
"Control Statements"
"Conversions"
"Current Event Object"
"Cursors"
"Define Statement"
"Desktop"
"Dos Shell Functions"
"Events"
"#Exec Statement"
"Expressions"
"External Macros"
"File Handling Functions"
"File Manager Functions"
"Folds"
"Function Calls"
"Function Definitions"
"Function Return Values"
"Function Types"
"Identifiers"
"If and If? Statements"
"Include Statement"
"Internal Macros"
"Introduction"
"Iterative Statements"
"Key Event Names"
"Key Macro Functions"
"Keyboard"
"Library Object Hierarchies"
"Logical Operators"
"Macro Types"
"Marks"
"Menus"
"Miscellaneous Functions"
"Mouse Event Names"
"Mouse"
"Numbers"
"Object Definitions"
"Object Functions"
"Object Inheritance"
"Object Statements and Functions"
"Objects and Remote Access"
"Objects"
"On-Event Functions"
"Operator Precedence"
"Other Control Statements"
"Overview"
"Passing Arguments to Functions"
"Passing Variables by Reference"
"Primary Editing Functions"
"Prompt History"
"Prompts and Dialog Boxes"
"Public vs. Private"
"Regular Expression Searching"
"Relational Operators"
"Reserved Words"
"Search and Replace"
"Spaces"
"String Functions"
"String Operators"
"Strings"
"Syntax Highlighting"
"Syntax"
"System Functions"
"Timers"
"True and False"
"Undo and Redo"
"User Defined Events"
"Variable Declarations"
"Variables"
"Video Functions"
"Windows"
end
// name the buffer so the menu position can be remembered
setbufname "helplang"
// display the buffer in a popup menu and get the topic selected
topic = popup (getcurrbuf) "Language Reference Topics" 35
// destroy the help topics buffer
destroybuf
// display the selected topic
if topic then
helpfile = getbootpath + "doc\\" +
(if? topic [1:3] == "Reg" "regexp" "language") + ".dox"
if file? helpfile then
open helpfile
// make read/only
bufferflag '+r'
gotopos 1 1
if find topic + '' then
send "onfound" length topic
end
else
msgbox helpfile + " not found."
end
end