[
Top
]
[
Contents
]
[
Index
]
[
?
]
Table of Contents
Introduction
0.1 Production Readiness
0.2 Contributors
1. FreeM Invocation
1.1 Synopsis
1.2 Command-Line Options
1.3 Using FreeM for Shell Scripting
2. The FreeM Direct-Mode Environment
2.1 Direct-Mode Commands
2.2 REPL Functionality
3. Intrinsic Special Variables
3.1 $DEVICE
3.2 $ECODE
3.3 $ESTACK
3.4 $ETRAP
3.5 $HOROLOG
3.6 $IO
3.7 $JOB
3.8 $KEY
3.9 $PRINCIPAL
3.10 $QUIT
3.11 $STACK
3.12 $STORAGE
3.13 $SYSTEM
3.14 $TEST
3.15 $TLEVEL
3.16 $TRESTART
3.17 $X
3.18 $Y
3.19 $ZA
3.20 $ZB
3.21 $ZCONTROLC
3.22 $ZDATE
3.23 $ZERROR
3.24 $ZF
3.25 $ZHOROLOG
3.26 $ZINRPT
3.27 $ZJOB
3.28 $ZLOCAL
3.29 $ZMATCHCONTROL
3.30 $ZMATCHNUMERIC
3.31 $ZMATCHPUNCTUATION
3.32 $ZMATCHALPHABETIC
3.33 $ZMATCHLOWERCASE
3.34 $ZMATCHUPPERCASE
3.35 $ZMATCHEVERYTHING
3.36 $ZPRECISION
3.37 $ZREFERENCE
3.38 $ZSYSTEM
3.39 $ZTIME
3.40 $ZTRAP
3.41 $ZVERSION
4. Intrinsic Functions
4.1 $ASCII
4.2 $CHAR
4.3 $DATA
4.4 $EXTRACT
4.5 $FIND
4.6 $FNUMBER
4.7 $GET
4.8 $JUSTIFY
4.9 $LENGTH
4.10 $NAME
4.11 $NEXT
4.12 $ORDER
4.13 $PIECE
4.14 $QLENGTH
4.15 $QSUBSCRIPT
4.16 $QUERY
4.17 $RANDOM
4.18 $REVERSE
4.19 $SELECT
4.20 $STACK
4.21 $TEXT
4.22 $TRANSLATE
4.23 $VIEW
4.24 $ZBOOLEAN
4.25 $ZCALL
4.26 $ZCR
4.27 $ZCRC
4.28 $ZDATA
4.29 $ZDATE
4.30 $ZEDIT
4.31 $ZHOROLOG
4.32 $ZHT
4.33 $ZKEY
4.34 $ZLENGTH
4.35 $ZLSD
4.36 $ZM
4.37 $ZNAME
4.38 $ZNEXT
4.39 $ZORDER
4.40 $ZPIECE
4.41 $ZPREVIOUS
4.42 $ZREPLACE
4.43 $ZSYNTAX
4.44 $ZSORT
4.45 $ZTIME
4.46 $ZZIP
5. Commands
5.1 ABLOCK
5.2 ASTART
5.3 ASTOP
5.4 AUNBLOCK
5.5 BREAK
5.6 CLOSE
5.7 DO
5.8 ELSE
5.9 FOR
5.10 GOTO
5.11 HALT
5.12 HANG
5.13 IF
5.14 JOB
5.15 KILL
5.16 KSUBSCRIPTS
5.17 KVALUE
5.18 LOCK
5.19 MERGE
5.20 NEW
5.21 OPEN
5.22 QUIT
5.23 READ
5.24 SET
5.25 TCOMMIT
5.26 TRESTART
5.27 TROLLBACK
5.28 TSTART
5.29 USE
5.30 VIEW
5.31 WRITE
5.32 XECUTE
5.33 ZALLOCATE
5.34 ZASSERT
5.35 ZBREAK
5.36 ZDEALLOCATE
5.37 ZGO
5.38 ZHALT
5.39 ZINSERT
5.40 ZJOB
5.41 ZLOAD
5.42 ZNEW
5.43 ZPRINT
5.44 ZQUIT
5.45 ZREMOVE
5.46 ZSAVE
5.47 ZTRAP
5.48 ZWATCH
5.49 ZWRITE
6. Structured System Variables
6.1 ^$CHARACTER
6.2 ^$DEVICE
6.3 ^$DISPLAY
6.4 ^$EVENT
6.5 ^$GLOBAL
6.6 ^$JOB
6.7 ^$LOCK
6.8 ^$PDISPLAY
6.9 ^$ROUTINE
6.10 ^$SYSTEM
6.11 ^$WINDOW
6.12 ^$ZPROCESS
7. Operators
7.1 Unary +
7.2 Unary -
7.3 + (Add)
7.4 += (Add/Assign)
7.5 ++ (Postfix Increment)
7.6 - (Subtract)
7.7 -= (Subtract/Assign)
7.8 – (Postfix Decrement)
7.9 * (Multiply)
7.10 *= (Multiply/Assign)
7.11 / (Divide)
7.12 /= (Divide/Assign)
7.13 \ (Integer Divide)
7.14 \= (Integer Divide/Assign)
7.15 # (Modulo)
7.16 #= (Modulo/Assign)
7.17 ** (Exponentiate)
7.18 **= (Exponentiate/Assign)
7.19 < (Less Than)
7.20 <= (Less Than or Equal To)
7.21 > (Greater Than)
7.22 >= (Greater Than or Equal To)
7.23 _ (Concatenate)
7.24 _= (Concatenate/Assign)
7.25 = (Equals)
7.26 [ (Contains)
7.27 ] (Follows)
7.28 ]] (Sorts After)
7.29 ? (Pattern Match)
7.30 & (Logical AND)
7.31 ! (Logical OR)
7.32 ’ (Logical NOT)
7.33 @ (Indirect)
8. Sequential I/O
9. Network I/O
9.1 Opening and Connecting a Client Socket
10. Asynchronous Event Handling
10.1 Setting Up Async Event Handlers
10.2 Registering an Asynchronous Event Handler
10.3 Enabling Asynchronous Event Handling
10.4 Disabling Asynchronous Event Handling
10.5 Temporarily Blocking Asynchronous Event Handling
11. Synchronous Event Handling
12. GUI Programming with MWAPI
13. User-Defined Z Commands
14. User-Defined Z Functions
15. User-Defined SSVs
16. System Library Routines
16.1 ^%ZCOLUMNS
16.2 ^%ZFREEM
16.3 ^%ZHELP
16.4 ^%ZROWS
17. Error Processing
18. Debugging
19. System Configuration
19.1 Installing FreeM
19.2 Namespaces Overview
19.3 Listing Namespaces
19.4 Adding Namespaces
19.5 Removing Namespaces
19.6 Importing Routines
20. Accessing FreeM from C Programs
20.1 freem_ref_t Data Structure
20.2 freem_ent_t Data Structure
20.3 freem_init()
20.4 freem_version()
20.5 freem_set()
20.6 freem_get()
20.7 freem_kill()
20.8 freem_data()
20.9 freem_order()
20.10 freem_query()
20.11 freem_lock()
20.12 freem_unlock()
20.13 freem_tstart()
20.14 freem_trestart()
20.15 freem_trollback()
20.16 freem_tlevel()
20.17 freem_tcommit()
20.18 freem_function()
20.19 freem_procedure()
A. FreeM Utilities
A.1 Global Compactor (gcompact)
A.2 Block Examiner (gfix)
A.3 Global Lister (gl)
A.4 Lock Examiner (glocks)
A.5 Global Repair Tool (grestore)
A.6 Global Validator (gverify)
A.7 Namespace Manager (namespace)
A.8 Routine Import (ri)
B. FreeM VIEW Commands and Functions
B.1 VIEW 16: Total Count of Error Messages/View Single Error Message
B.2 VIEW 17: Intrinsic Z-Commands
B.3 VIEW 18: Intrinsic Z-Functions
B.4 VIEW 19: Intrinsic Special Variables
B.5 VIEW 20: Break Service Code
B.6 VIEW 21: View Size of Last Global
B.7 VIEW 22: Count VIEW 22 Aliases
B.8 VIEW 23: View Contents of Input Buffer
B.9 VIEW 24: Maximum Number of Screen Rows
B.10 VIEW 25: Maximum Number of Screen Columns
B.11 VIEW 26: DO/FOR/XECUTE Stack Pointer
B.12 VIEW 27: DO/FOR/XECUTE Stack Pointer (On Error)
B.13 VIEW 28: Switch Symbol Table
B.14 VIEW 29: Copy Symbol Table
B.15 VIEW 30: Inspect Arguments
B.16 VIEW 31: Count Environment Variables
C. Implementation Limits
D. US-ASCII Character Set
E. FreeM Project Coding Standards
E.1 Module Headers
E.2 Variable Naming
E.3 Indentation and General Layout
E.4 Brace Placement (Functions)
E.5 Brace Placement (if-for-while-do)
E.6 Labels and goto
E.7 Preprocessor Conditionals
E.8 coding standards, preprocessor conditionals
E.9 Overall Program Spacing
E.10 The switch() Statement
E.11 Comments
F. Conformance Clause
Index
[
Top
]
[
Contents
]
[
Index
]
[
?
]
This document was generated by
root
on
October 14, 2020
using
texi2html 1.82
.