home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
muzea
/
exemusei
/
shared.cst
/
00930_Script_LeggeTXT
< prev
next >
Wrap
Text File
|
1987-04-12
|
738b
|
23 lines
on LeggiTesto
put the pathName & "Testi:" & the movieName into Nome
put chars(Nome, 1, (length(Nome)-4)) into Nome
put Nome & ".txt" into Nome
put FileIO (mNew, "read", Nome) into Nome
put "" into NuCa
Repeat while Nuca <> "ÑÑÑ"
put Nome(mReadLine) into NuCa
if NuCa = "ÑÑÑ" & RETURN then exit repeat
put "" into testo
put "" into prgrf
repeat while prgrf <> "ÑÑ"
put Nome(mReadLine) into prgrf
if prgrf = "ÑÑ" & RETURN then exit repeat
set testo = testo & prgrf
end repeat
put chars(NuCa, 2, length(NuCa)) into NuCa
put chars(testo, 1, length(testo)-1) into testo
set the text of cast (value(NuCa)) = testo
end repeat
beep 3
Nome(mDispose)
end