Hi Rebol fellows,

Why with the following code :

REBOL []

file: to-file ask "Filename? "
texte: read/lines file

output1: copy head change find/last file "." ".loc"
output2: copy head change find/last file "." ".lst"

print ["le fichier trait� est '" file "'."]
print ["le fichier '" output1 "' a �t� cr��."]
print ["le fichier '" output2 "' a �t� cr��."]

I have the result below where the variable "file" has changed its valuee
!!!!

>> do %flash/testfile.r
Script: "Untitled" (none)
Filename? generic4.txt
le fichier trait� est ' generic4.lst '.
le fichier ' generic4.loc ' a �t� cr��.
le fichier ' generic4.lst ' a �t� cr��.

What can I do to avoid this ?

TIA

Richard Coffre
France Telecom Orbiscom
T�l. : 01 47 61 46 28


--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

Reply via email to