[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
The VARIABLE.UDT file
Examine the user defined type file APTFILER.UDT:
FunctionBaseNames:
# MAIN.UDF
aptfiler cFile
trimpath cPath
aptdirectory aDir
selectfile oTbDir
getwcard cWCard
# PUSHSCR.UDF
pushscr lTrue
pushhot uNil
popscr lTrue
sput uNil
sget vItem
sis nPos
sdel uNil
tbgetudm bMethod
tbputudm uNil
tbdeludm uNil
pushworkarea uNil
popworkarea uNil
pophot aHots
ishot vItem
hotsnest uNil
aptmlines nLines
aptswitch vSet
# ISMOUSE.UDF
ismouse lMouse
aptmouse vStatus
mdblclk lDblClk
vscrollbar uNil
hscrollbar uNil
mbvscroll uNil
mbhscroll uNil
mtbbrow uNil
getmovbloc bMovBlk
mfkeys uNil
mgvscroll uNil
mgbrow uNil
mbutt uNil
aptinkey nKey
# TBKEYHANDL.UDF
tbkeyhandler oTb
# APTBOX.UDF
aptbox nPos
aptbuttons nButton
aptdispmsg uNil
# LIB.UDF
normpath cPath
aptstabili oSelf
tbquit oSelf
fname cFile
aptbackplane uNil
hilite uNil
aptinputbox uNil
pbutt uNil
# APTALERT.UDF
aptalert nChoice
Each of the user defined functions in APTFILER.SRC and
SAMPLE.LIB has an entry defining the base name to use when a
variable is defined as a result of calling the function.
Note that the list of functions was 'cut' from REPORT to save
typing.
Use a text editor to edit VARIABLE.UDT; add the line
@APTFILER.UDT
immediately before the line FunctionBaseNames: (after the last
entry in the GenericBaseNames: section), then run Rescue5 with
the /1 switch to utilise these naming conventions:
rescue aptfiler /ofiler /1
The new APTFILER.VAR file will now have more explicitly named
variables than before, for example the entry for aptFiler now
includes:
APTFILER:
(LOCAL)
clStr # P1
oTbCol # L2
oTb # L3
nPos # L4 was _Def
nNum # L5
nNum1 # L6
nNum2 # L7
nChoice # L8 was _Def1
cStr1 # L9
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson