[REBOL] Re: Seems like a View 2.7.6 "if" statement issue ......???
From: gregg::pointillistic::com at: 7-Oct-2008 21:11
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