From: Jomi H. <jom...@gm...> - 2020-11-12 22:51:57
|
Thanks Stephen for reporting this bug. It is now fixed and included in Jason 2.6.2, just released. > On 27 Oct 2020, at 21:32, Stephen Cranefield <ste...@ot...> wrote: > > Is it possible to convert "special" atoms such as '$%12' into strings that include the single quotation marks? .term2string does not include the quotation marks, and .print does not include them either. I tested this with Jason 2.6.1. For example: > > !start. > +!start <- > .term2string(foo('$%12'), S); > .print(S); > .length(S, Len); > .print("Length: ", Len). > > Output: > foo($%12) > Length: 9 > > If the quotation marks aren't included in the string, then it is not possible to parse the strings again to convert them back to Jason atoms. > > Regards, > Stephen > > > _______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |