
TM G&RGLINK PROFESSIONAL EDITION ENTERPRISE EDITION Script Reference G&R GALLAGHER http://www.glink.com/glink/ ROBERTS ON Microsoft, Windows, MS are registered trademarks of Microsoft Corp. IBM and PC are registered trademarks of IBM Corp. Glink Enterprise Edition, version 8.6 Glink Professional Edition, version 8.6 © Gallagher & Robertson A/S 1987-2019 All Rights Reserved GALLAGHER & ROBERTSON A/S, Grini Næringspark 3, N-1361 Oslo, Norway Tel: +47 23357800 www: http://www.glink.com/ e-mail: [email protected] Contents Contents Contents ................................................................................................ i General ................................................................................................. 1 Overview ......................................................................................................... 1 Starting a script ............................................................................................... 2 Script directories ............................................................................................. 5 Script file format ............................................................................................. 6 Nesting of scripts ............................................................................................. 7 Compiled scripts .............................................................................................. 7 Termination script ........................................................................................... 8 Script variables ................................................................................. 11 Normal variables ........................................................................................... 11 Numeric variables ......................................................................................... 12 Built-in variables ........................................................................................... 13 The $STATUS variable ........................................................................... 19 Pattern variables ............................................................................................ 19 File variables ................................................................................................. 20 Script command categories .............................................................. 21 Alphanumeric handling ................................................................................. 21 Compiler and debugging commands ............................................................. 21 Configuration control .................................................................................... 22 Control structures .......................................................................................... 23 Dial directory ................................................................................................ 23 File I/O commands ........................................................................................ 24 File transfer and control ................................................................................ 24 Host interaction commands ........................................................................... 25 Key definitions and handling ......................................................................... 26 Menu handling ............................................................................................... 26 Screen and cursor control .............................................................................. 27 System-related commands ............................................................................. 27 Timing commands ......................................................................................... 28 User input commands .................................................................................... 28 Variable handling commands ........................................................................ 28 Gallagher & Robertson Glink: Script Reference i Contents Windows-specific commands ........................................................................ 29 Commands for backwards compatibility ....................................................... 30 Script commands .............................................................................. 31 The #ELSE directive ..................................................................................... 31 The #ENDIF directive ................................................................................... 31 The #IFDEF directive ................................................................................... 32 The #IFNDEF directive ................................................................................. 33 The ABORT command ................................................................................. 33 The ACTIVATE command ........................................................................... 33 The ADD command ...................................................................................... 34 The ADDMENU command ........................................................................... 34 The ADMSHELL command ......................................................................... 35 The APPEND command ............................................................................... 35 The ASSIGN command ................................................................................. 35 The BEEP command ..................................................................................... 36 The BEGIN command ................................................................................... 36 The BINARY command ................................................................................ 36 The BREAK command ................................................................................. 37 The BUILDMENU command ....................................................................... 37 The BUTTON command ............................................................................... 38 The CALC command .................................................................................... 40 The CALL command ..................................................................................... 41 The CAPTURE command ............................................................................. 42 The CASE command ..................................................................................... 42 The CD command ......................................................................................... 43 The CFIX command ...................................................................................... 44 The CFXW command ................................................................................... 44 The CHAIN command .................................................................................. 44 The CHANNEL command ............................................................................ 45 The CLEAR command .................................................................................. 45 The CMPNUM command ............................................................................. 45 The COMPARE command ............................................................................ 46 The CONCAT command ............................................................................... 46 The CONFIG command ................................................................................ 47 The CONNECT (modem) command ............................................................. 47 The CONTEXT command ............................................................................ 48 The CONVERSE command .......................................................................... 49 The COPY command .................................................................................... 49 The CRDB command .................................................................................... 49 The CRDW command ................................................................................... 50 The CREAD command.................................................................................. 50 The CRLF command ..................................................................................... 50 ii Glink: Script Reference Gallagher & Robertson Contents The CSWITCH command ............................................................................. 51 The CTYPE command .................................................................................. 51 The CURSOR command ............................................................................... 52 The CXRESTORE command ........................................................................ 52 The CXSAVE command ............................................................................... 53 The DBOX command .................................................................................... 53 The DCHANGE command ............................................................................ 54 The DDEADVISE command ........................................................................ 55 The DDECLOSE command .......................................................................... 55 The DDEEXECUTE command ..................................................................... 55 The DDENAME command ........................................................................... 56 The DDEOPEN command ...........................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages273 Page
-
File Size-