Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > MIAMEX

MIAMEX Functions by Number

Scroll Prev Top Next More

Symbol

Value

Function

MX_CMD_STATUS

1

Get / set command file status

MX_EXIT

2

Exit A-Shell

MX_FSPEC

3

Translate DevPPN filespec to native

MX_GETCTRLC

4

Get Ctrl+C status

MX_GETECHO

5

Get echo status

MX_SETPROMPT

6

Set command prompt

MX_GETHEX

7

Get hex output status

MX_SETHEX

8

Set / reset hex mode

MX_OCVT

9

Octal conversion (OCVT)

MX_CHKPPN

10

Check for ppn

MX_GETERSATZ

11

Return ersatz

MX_GETVER

12

Return A-Shell version

MX_WSET_STATUS

13

Get / set WSET flags

MX_VUE

14

VUE

MX_COMPIL

15

COMPIL

MX_PREBAS

16

CPRE

MX_SYNC_CWD

17

Synchronize A-Shell PPN with system path

MX_NXTCMD

18

Get next command file line

MX_GETDEV

19

Get next device

MX_FINDFIRST

20

Find first matching file

MX_FINDNEXT

21

Find next matching file

MX_DIRSEP

22

Get directory separator

MX_FINDEND

23

End directory processing

MX_GETPROMPT

24

Get prompt

MX_HASHFILE

25

Get hash

MX_PRFSPEC

26

Print filespec

MX_COPYFILE

27

Copy file

MX_PRINTERR

28

Output error message

MX_RENAMERR

29

Output rename error message

MX_GETQUEUE

30

Return queue block

MX_GETENV

31

Return environment variable value

MX_SETEXT

32

Set default extension

MX_MATCHWILD

33

Match cmdlin

MX_GETCISAM

34

Get CISAM/DISAM version

MX_SETCRM

35

Set crm

MX_GETHASH

36

Get hex status

MX_SETHASH

37

Set / reset AMOS hash flag

MX_MKPATH

38

Create directory

MX_RMPATH

39

Delete directory

MX_GETODBC

40

Is ODBC available?

MX_ZAPQUEUE

41

Zap queue

MX_ODBCFIRST

42

Return first ODBC table

MX_ODBCNEXT

43

Return next ODBC table

MX_ODBCEND

44

ODBC end

MX_GETLOKSER

50

Return LOKSER flags

MX_SETLOKSER

51

Set LOKSER flags

MX_GETCMDINP

52

Return CMDINP flags

MX_SETCMDINP

53

Set CMDINP flags

MX_GETSIG

54

Return signal received flags (Unix only)

MX_CLRSIG

55

Clear signal received flags (Unix only)

MX_SETENV

56

Change TERM environment variable (Unix only)

MX_KILL

57

Kill job

MX_SHOWLIC

58

Display license

MX_GETOPTIONS

59

Return OPTIONS flags

MX_SETOPTIONS

60

Set OPTIONS flags

MX_GETTRACE

61

Return TRACE flags

MX_SETTRACE

62

Set TRACE flags

MX_SETPFK

63

Set function key translation or PFK

MX_GETPFK

64

Return PFK name

MX_SCRNPIC

65

Take screen snapshot

MX_QRBLD

66

Force queue rebuild

MX_QLOCK

67

Lock queue

MX_QUNLOK

68

Unlock queue

MX_GETUMSK

69

Return umask (Unix only)

MX_SETUMSK

70

Set umask (Unix only)

MX_WINMNU

71

Deprecated. Use AUI_MENU.

MX_LITMSG

72

Display LITMSG.xxx message

MX_READJCB

73

Return jobtbl.sys record

MX_WRITEJCB

74

Write jobtbl.sys record

MX_GETTIME

75

Get current system time

MX_TELSER

76

Launch Telnet server mode (Windows only)

MX_SHOWWINDOW

77

Deprecated. Use AUI_WINDOW.

MX_GETGDO

78

Get global DO parameters

MX_SETGDO

79

Set global DO parameters

MX_XCBINFOX

80

Deprecated

MX_XCBDATAX

81

Deprecated.

MX_EXITSBX

82

Exit to dot prompt (even from with an SBX )

MX_GETFKW

83

Get FKEYWAIT value (Unix only)

MX_SETFKW

84

Set FKEYWAIT value (Unix only)

MX_TITLE

85

Get / set Window title

MX_ERRNOMSG

86

Get operating system error message by errno

MX_NOBUF

87

Disable stream file buffering

MX_FLUSHBUF

88

Flush stream file buffer

MX_FLSET

89

Clone file channel (within SBX) (similar to M68 FLSET)

MX_BEVEL

90

Get / set bevel options (Windows only)

MX_SYSBCLR

91

Define BG color # to track system COLOR_3DFACE

MX_HOTKEY

92

Enable / disable PolyShell hot keys

MX_ABOUT

93

Get license info (used by ABOUT.LIT)

MX_GETRC

94

Get current cursor position

MX_GETOFD

95

Windows Open File dialog (Windows only)

MX_SHELLEX

96

Shell Execute (open/print registered file type)

MX_MKDIR

97

Create directory (Windows only)

MX_ATE

98

Start ATE

MX_GETREG

99

Retrieve registry value (Windows only)

MX_PLAYSOUND

100

Play a sound file (Windows only)

MX_GETSW

101

Get swap wait value (in ms) (Unix only)

MX_SETSW

102

Set swap wait value (in ms) (Unix only)

MX_CLFLAGS

103

Get / set ashell command line switches

MX_GETPID

104

Get process ID (pid)

MX_CLIPBOARD

105

Get / set clipboard (Windows only)

MX_OSVER

106

Get operating system version

MX_USRMAP

107

Get USRMEM module information

MX_USRLOD

108

Load module (or variable) into USRMEM

MX_USRDEL

109

Delete module from USRMEM

MX_USRSAV

110

Save module from USRMEM to disk

MX_USRIO

111

Read / write USRMEM data directly

MX_AMOUSEXLT

112

Set AutoMouse translations (Windows only)

MX_MEMORY

113

Change user partition size

MX_MARSHAL

114

Marshall parameters for remote subroutine

MX_IXCALL

115

Indirect XCALL

MX_INICLR

116

Process an INI.CLR file

MX_MAPI

117

MAPI Send Mail (Windows only)

MX_FILEPOS

118

Get / set file pointer within stream

MX_WINCTL

119

Deprecated. Use AUI_CONTROL.

MX_WINPTR

120

Prompt for Windows printer (Windows only)

MX_CHAINTO

121

Get / set chain-to on privilege violation

MX_SBRFLG

123

Get / set options that are normally set with SBR= in miami.ini

MX_ASHLOG

124

Output STRING message to ashlog.log

MX_MCRS

125

Retrieve information about last mouse click

MX_SINK

126

Sink / unsink specified box

MX_ROUND

127

Get / set rounding factor

MX_GETIP

128

Get IP address

MX_GUIFLG

129

Deprecated. Use AUI_ENVIRONMENT.

MX_ASHFILE

130

Retrieve startup command and/or name of A-Shell executable

MX_FILESTATS

131

Retrieve stats for specified path

MX_FTFORMAT

132

Reformat filetime from MX_FILESTATS

MX_EXPFIL

133

Expand / reduce a file in place

MX_SYNC

134

Invokes operating system sync command

MX_EVENTWAIT

135

Deprecated. Use AUI_EVENTWAIT.

MX_HTMLHELP

137

Deprecated. Use AUI_HTMLHELP.

MX_REGISTRY

138

Registry operations

MX_AUTOPARENT

141

Set parent controls

MX_CMDKBD

142

Retrieve CMD file variables

MX_INFDEF

143

Get / set INFLD default TYPE codes

MX_DEBUG

144

Get / set DEBUG level

MX_UNLOADLIB

145

<reserved>

MX_LASTLNO

146

Retrieve last line number of program

MX_FLINES

147

Count lines, maximum line length in file

MX_GDICALC

148

Calculate String length or height

MX_WINSETTINGS

149

Get / set A-Shell GUI Settings

MX_RELEASEKBD

153

Set / release keyboard hold

MX_DEFTABXYZ

154

Set "3D" Tab attributes

MX_INSTNUM

156

Return instance number

MX_FINDWINDOW

157

Find window by title and/or class and/or handle

MX_GTOCT

160

Convert hex or octal to decimal

MX_FILECHINFO

161

Returns info about open file based on file channel

MX_SETMEMFLAGS

163

Change memory module flags

MX_CHOOSECOLOR

164

Display color selection dialog

MX_CHOOSEFONT

165

Display font selection dialog

MX_VERINODE

167

Verify file information  

MX_SETUSRNAM

169

Set / override user name

MX_BROWSEFOLDER

170

Selects a folder or other non-file object (such as a computer).

MX_GETSHELLPATH

171

Retrieves the path for a specified Windows directory ID.

MX_PWCRYPT

172

Provides simple password encryption.

MX_SHORTCUT

173

Create shortcut.

MX_STRCMP

174

Compare two strings in various ways.

MX_CHKPCNET

176

Checks network state of PC.

MX_AGWRAPPER

177

Wraps "raw" ATE commands.

MX_FILEHOOK

178

Establish file "hooks" on specific files and file events.

MX_AGINTERPROC

179

Send AG commands between instances of A-Shell/Windows.

MX_IATIMEOUT

180

Get / set the inactivity timeout period.

MX_CSVDELIM

181

Get / set the CSV delimiter character.

MX_SETERR

182

Triggers an ASB error.

MX_ATEFILEXFR

183

Performs ATE/ATSD file transfer.

MX_CLRINBUF

184

Clears input buffer and type ahead.

MX_MALLOCLIMIT

185

Get / set the MALLOCLIMIT.

MX_LASTPRTFIL

186

Returns specs of the last file written by the PDFX printer driver.

MX_FILESOCK

187

Binds a TCP socket to a sequential file channel.

MX_WEBCACHE

188

Provides operations related to A-Shell's web cache feature.

MX_CALLSTACK

189

Returns information about the call stack.

MX_LANGUAGE

190

Retrieves or sets the current language

MX_SRCHPATH

191

Searchs for a file in the system path

MX_DYNSTRUCT

192

Implements A-Shell's dyanamic structures.

MX_DYNFUNC

193

Used for DYNFUNC-related utilities.

MX_GETWINFILEVERS

194

Retrieves version of a Windows DLL or executable.

MX_FILEVAR

195

Get / set the value of the file record number variable

MX_FILETIMES

196

Get / set a file's modification, creation or access time.

MX_GETDPI

197

Get monitor resolution

MX_GETUPTIME

198

Get system uptime

MX_DRAGDROP

199

Accept drag drop

MX_AS3264

200

Get A-Shell architecture (32- or 64-bit)

MX_TRANSCOPY

202

Copies and translates a file

MX_RUNPROF

203

Generates a run profile log

MX_DIRCLEAN

204

Counts or deletes files based on various filter attributes

MX_LOCALE

205

Queries the native OS locale information.