[
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 Daemon
3 The FreeM Direct-Mode Environment
3.1 Direct-Mode Commands
3.2 REPL Functionality
4 Directives
4.1 %DIALECT
5 Intrinsic Special Variables
5.1 $DEVICE
5.2 $DIALECT
5.3 $ECODE
5.4 $ESTACK
5.5 $ETRAP
5.6 $HOROLOG
5.7 $IO
5.8 $JOB
5.9 $KEY
5.10 $PDISPLAY
5.11 $PRINCIPAL
5.12 $REFERENCE
5.13 $QUIT
5.14 $STACK
5.15 $STORAGE
5.16 $SYSTEM
5.17 $TEST
5.18 $TLEVEL
5.19 $WITH
5.20 $X
5.21 $Y
5.22 $ZA
5.23 $ZB
5.24 $ZCONTROLC
5.25 $ZDATE
5.26 $ZERROR
5.27 $ZHOROLOG
5.28 $ZINRPT
5.29 $ZJOB
5.30 $ZLOCAL
5.31 $ZNAME
5.32 $ZPRECISION
5.33 $ZREFERENCE
5.34 $ZSYSTEM
5.35 $ZTIME
5.36 $ZTRAP
5.37 $ZUT
5.38 $ZVERSION
6 Intrinsic Functions
6.1 $ASCII
6.2 $CHAR
6.3 $DATA
6.4 $EXTRACT
6.5 $FIND
6.6 $FNUMBER
6.7 $GET
6.8 $INSTANCEOF
6.9 $JUSTIFY
6.10 $LENGTH
6.11 $NAME
6.12 $NEXT
6.13 $ORDER
6.14 $PIECE
6.15 $QLENGTH
6.16 $QSUBSCRIPT
6.17 $QUERY
6.18 $RANDOM
6.19 $REVERSE
6.20 $SELECT
6.21 $STACK
6.22 $TEXT
6.23 $TRANSLATE
6.24 $TYPE
6.25 $VIEW
6.26 $ZBOOLEAN
6.27 $ZCALL
6.28 $ZCRC
6.29 $ZDATA
6.30 $ZDATE
6.31 $ZEDIT
6.32 $ZHOROLOG
6.33 $ZKEY
6.34 $ZLENGTH
6.35 $ZLSD
6.36 $ZM
6.37 $ZNAME
6.38 $ZNEXT
6.39 $ZORDER
6.40 $ZPIECE
6.41 $ZPREVIOUS
6.42 $ZREPLACE
6.43 $ZSYNTAX
6.44 $ZTIME
7 OBJECT Methods
7.1 $$TONUMBER
7.2 $$TYPE
7.3 $$VALUE
8 STRING Methods
8.1 $$ASCII
8.2 $$DATA
8.3 $$DISTANCE
8.4 $$EXTRACT
8.5 $$FIND
8.6 $$FNUMBER
8.7 $$JUSTIFY
8.8 $$LENGTH
8.9 $$PIECECOUNT
8.10 $$PIECE
8.11 $$REPLACE
8.12 $$REVERSE
8.13 $$TOLOWER
8.14 $$TOUPPER
8.15 $$TRANSLATE
9 Commands
9.1 @
9.2 !
9.3 !!
9.4 ABLOCK
9.5 ASSERT
9.6 ASTART
9.7 ASTOP
9.8 AUNBLOCK
9.9 BREAK
9.10 CLOSE
9.11 CONST
9.12 DO
9.13 ELSE
9.14 FOR
9.15 GOTO
9.16 HALT
9.17 HANG
9.18 IF
9.19 JOB
9.20 KILL
9.21 KSUBSCRIPTS
9.22 KVALUE
9.23 LOCK
9.24 MAP
9.25 MERGE
9.26 NEW
9.27 OPEN
9.28 QUIT
9.29 READ
9.30 SET
9.31 TCOMMIT
9.32 THEN
9.33 THROW
9.34 TROLLBACK
9.35 TSTART
9.36 UNMAP
9.37 USE
9.38 VIEW
9.39 WATCH
9.40 WITH
9.41 WRITE
9.42 XECUTE
9.43 ZALLOCATE
9.44 ZBREAK
9.45 ZDEALLOCATE
9.46 ZGO
9.47 ZHALT
9.48 ZINSERT
9.49 ZJOB
9.50 ZLOAD
9.51 ZNEW
9.52 ZPRINT
9.53 ZQUIT
9.54 ZREMOVE
9.55 ZSAVE
9.56 ZTRAP
9.57 ZWRITE
10 Structured System Variables
10.1 ^$CHARACTER
10.2 ^$DEVICE
10.3 ^$DISPLAY
10.4 ^$EVENT
10.5 ^$GLOBAL
10.6 ^$JOB
10.7 ^$LOCK
10.8 ^$OBJECT
10.9 ^$ROUTINE
10.10 ^$SYSTEM
10.11 ^$WINDOW
10.12 ^$ZPROCESS
10.13 ^$ZRPI
11 Operators
11.1 Unary +
11.2 Unary -
11.3 + (Add)
11.4 += (Add/Assign)
11.5 ++ (Postfix Increment)
11.6 - (Subtract)
11.7 -= (Subtract/Assign)
11.8 – (Postfix Decrement)
11.9 * (Multiply)
11.10 *= (Multiply/Assign)
11.11 / (Divide)
11.12 /= (Divide/Assign)
11.13 \ (Integer Divide)
11.14 \= (Integer Divide/Assign)
11.15 # (Modulo)
11.16 #= (Modulo/Assign)
11.17 ** (Exponentiate)
11.18 **= (Exponentiate/Assign)
11.19 < (Less Than)
11.20 <= (Less Than or Equal To)
11.21 > (Greater Than)
11.22 >= (Greater Than or Equal To)
11.23 _ (Concatenate)
11.24 _= (Concatenate/Assign)
11.25 = (Equals)
11.26 [ (Contains)
11.27 ] (Follows)
11.28 ]] (Sorts After)
11.29 ? (Pattern Match)
11.30 & (Logical AND)
11.31 ! (Logical OR)
11.32 ’ (Logical NOT)
11.33 @ (Indirect)
12 Routines
12.1 Routine Naming
13 Types
13.1 BOOLEAN
13.2 COMPLEX
13.3 INTEGER
13.4 REAL
13.5 STRING
13.6 Custom Types (Classes)
14 Globals
15 Concurrency Control
16 Local Variables
17 Scoping
18 Decision Constructs
19 Branch Constructs
20 Loop Constructs
21 Modular Programming
21.1 Subroutines
21.2 Extrinsic Functions
22 Object-Oriented Programming
22.1 Classes
22.1.1 Inheritance
22.1.2 Methods
22.1.3 Public Variables
22.1.4 Private Variables
23 Libraries
24 Sequential I/O
25 Network I/O
25.1 Opening and Connecting a Client Socket
26 Extended Global References
26.1 Standard Extended Global References
26.2 File Path Extended Global References
27 Global Aliasing
28 Global Mappings
29 Transaction Processing
29.1 Theory of Operation
30 Asynchronous Event Handling
30.1 Setting Up Async Event Handlers
30.2 Registering an Asynchronous Event Handler
30.3 Enabling Asynchronous Event Handling
30.4 Disabling Asynchronous Event Handling
30.5 Temporarily Blocking Asynchronous Event Handling
31 Global Triggers
32 Synchronous Event Handling
33 GUI Programming with MWAPI
34 User-Defined Z Commands
35 User-Defined Z Functions
36 User-Defined SSVNs
37 Language Dialects
38 System Library Routines
38.1 ^%ZCOLUMNS
38.2 ^%SYSINIT
38.3 ^%ZHELP
38.4 ^%ZROWS
39 Interrupt Handling
40 Error Processing
41 FreeM Error Codes
42 Debugging
43 System Configuration
43.1 Installing FreeM
43.2 Build Configuration
44 Accessing FreeM from C Programs
44.1 freem_ref_t Data Structure
44.2 freem_ent_t Data Structure
44.3 freem_init()
44.4 freem_version()
44.5 freem_set()
44.6 freem_get()
44.7 freem_kill()
44.8 freem_data()
44.9 freem_order()
44.10 freem_query()
44.11 freem_lock()
44.12 freem_unlock()
44.13 freem_tstart()
44.14 freem_trestart()
44.15 freem_trollback()
44.16 freem_tlevel()
44.17 freem_tcommit()
44.18 freem_function()
44.19 freem_procedure()
Appendix A FreeM Administrator
Appendix B FreeM Legacy Utilities
B.1 Global Compactor (gcompact)
B.2 Block Examiner (gfix)
B.3 Global Repair Tool (grestore)
Appendix C FreeM VIEW Commands and Functions
C.1 VIEW 16: Total Count of Error Messages/View Single Error Message
C.2 VIEW 17: Intrinsic Z-Commands
C.3 VIEW 18: Intrinsic Z-Functions
C.4 VIEW 19: Intrinsic Special Variables
C.5 VIEW 20: Break Service Code
C.6 VIEW 21: View Size of Last Global
C.7 VIEW 22: Count VIEW 22 Aliases
C.8 VIEW 23: View Contents of Input Buffer
C.9 VIEW 24: Maximum Number of Screen Rows
C.10 VIEW 25: Maximum Number of Screen Columns
C.11 VIEW 26: DO/FOR/XECUTE Stack Pointer
C.12 VIEW 27: DO/FOR/XECUTE Stack Pointer (On Error)
C.13 VIEW 29: Copy Symbol Table
C.14 VIEW 30: Inspect Arguments
C.15 VIEW 31: Count Environment Variables
Appendix D Implementation Limits
Appendix E US-ASCII Character Set
Appendix F FreeM Project Coding Standards
F.1 Module Headers
F.2 Variable Naming
F.3 Indentation and General Layout
F.4 Brace Placement (Functions)
F.5 Brace Placement (if-for-while-do)
F.6 Labels and goto
F.7 Preprocessor Conditionals
F.8 coding standards, preprocessor conditionals
F.9 Overall Program Spacing
F.10 The switch() Statement
F.11 Comments
Index
[
Top
]
[
Contents
]
[
Index
]
[
?
]
This document was generated on
March 27, 2025
using
texi2html 5.0
.