Hi, everybody
Please, look at next code, I need to search the occurrences of SomeThing in a
file and this code is OK.
After the last ocurrence PortFile is set to none, then the while finish ok, but
what happen with the port, is it closed automatically?
I will appreciate any kind of comments.
Thanks to all in advance
César
[
SomeThing: "x10"
PortFile: open/read %file
qty: 0
while [PortFile: find/tail PortFile SomeThing][
qty: qty + 1
]
]
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.