value function fails for multi-line input
Pat Trendler
ptrendler at bigpond.com
Tue Jun 14 05:34:10 EDT 2005
Dick,
"a" is a string not the variable a
either of the following lines will work:
put value (a) & cr & (b)
put value (a) & cr & value (b) into c; put value(c)
But, really, you can just say:
put a & cr & b into c
put c
Pat
patrend at bigpond.com
----- Original Message -----
From: "Dick Kriesel" <dick.kriesel at mail.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Tuesday, June 14, 2005 6:35 PM
Subject: value function fails for multi-line input
Each of the following causes the 2.6 engine on Mac OS X 10.4.1 to report
"error executing expression:"
put value( "a" & cr & "b")
put "a" & cr & "b" into c; put value(c)
set the lineDelimiter to "|"; put value("a|b")
In contrast, the following succeeds:
set the lineDelimiter to "_"; put value("a_b")
If you¹d like to add votes, please see BugZilla 2904.
-- Dick
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list