home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
util
/
libs
/
reqtools
/
rexxreqtools
/
examples
/
ttxarexx.lha
/
GotoLine.ttx
< prev
next >
Wrap
Text File
|
1993-10-21
|
369b
|
16 lines
/* $VER: GotoLine.ttx 1.2 (30.09.93) */
OPTIONS RESULTS
GetFileInfo
PARSE VAR RESULT Lines .
GetCursorPos
PARSE VAR RESULT CurrentLine .
Line = rtGetLong( , "Go to line (current: "CurrentLine"):", "TurboText request",, "RT_PubScrName=TURBOTEXT RTGL_Flags=GLREQF_CENTERTEXT RTGL_Min=1 RTGL_Max=" || Lines )
IF rtResult = 1 THEN DO
Move FOLDS Line
CenterView
END