Hi John,

JD> This line worked fine in the earlier version of Rebol......but now
JD> throws an error in Rebol 2.7.6 

JD> repeat k 12 [
JD>         nourish: copy []
JD>         if ((substr rec1 (y + j) + 2054 1) > " ") [   <------------- error 
here
JD>              .........                                             
<------------ rec1 is a 2,096 character recd
JD>              .........

JD> Error msg. from 2.7.6:

JD> ** Script Error: Expected one of: binary! - not: string!
JD> ** Near: (substr rec1 (y + j) + 2054 1) > " "
>>>

More context would help, or a standalone example of the problem.

What is the source for SUBSTR, and what are the actual contents of
rec1? It looks like rec1 is a binary value.

-- Gregg

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to