Re: Is there a way of reading a sequence from a variable?
- Posted by DerekParnell (admin) Apr 17, 2012
- 1300 views
bill said...
What I am looking for is a function like get() which works on a variable not a file.
Value() will not read quoted text from a sequence only numbers and sequences of numbers.
Get() only works on files.
I'm not sure what you are doing but value() works correctly with quoted text. Can you give us an example of where it is failing? Here is what I tried ...
include std/get.e ? value("{0,\"123\",1,2,{3,\"AAA\"},\"456\"}")
And the result was
{ 0, { 0, {49,50,51}, 1, 2, { 3, {65,65,65} }, {52,53,54} }