home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
utilities
/
editors
/
textra
/
scripts
/
jforth_scripts
/
view.textra
< prev
next >
Wrap
Text File
|
1994-06-24
|
511b
|
26 lines
/* display JForth source file & word */
OPTIONS results
parse arg theString /* get the argument */
rex = 0; result = "NOTSUPPORTED"
textraversion
parse var result maj min rex
if (result == "NOTSUPPORTED") | (rex < 2) then do
notify "Textra V1.12 or later required for this script."
exit
end
theString = UPPER(theString)
address 'JFORTH' '" 'theString'" ReturnFileName'
if (result ~= "NOT FOUND") then do
fname = result
if (fname ~= "RESULT") then do
openfile '"'fname'"'
find theString
end
end