Hello [EMAIL PROTECTED],

Try this:
>> read/part %test.txt 5   ;<= 5 is the "size" argument to /part
== "This "

(the content of the file is "This is a test file^/")


Best regards
Thomas Jensen


On 02-Feb-00, [EMAIL PROTECTED] wrote:

> Hello,
> 
> I have a text file that i want to extract, say, the first 5 characters
> from. Checking the read documentation, says to use the refinement /part
> that also needs the size argument, but i'm unable to see how that size
> argument is specified??
> 
> the closest i've got is:
> 
>>> read/part/size %test.txt
> ** Script Error: read expected size argument of type: number.
> ** Where: read/part/size %test.txt
> 
> gives an error. What does the read look like??
> 
> Thanks
> 
> Mike. 
> 
> 
> 
> 
> 

Reply via email to