home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
install
/
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