[Cuis-dev] underscore for assignment and fileOuts

Mark Volkmann r.mark.volkmann at gmail.com
Wed Jul 17 05:50:10 PDT 2024


On Tue, Jul 16, 2024 at 7:04 PM Mark Volkmann <r.mark.volkmann at gmail.com>
wrote:

> When I enter something like this in a Workspace:
>
> p _ 1.2 @ 34
>
> to create a Point and then do a fileOut, I see that the file contains
>
> p1 1.2 @ 3.4
>
> I was expecting "p1" to be followed by ":=".
> Why doesn't it change the underscore to ":="?
> Is the character after "p1" an unprintable character that gets interpreted
> as assignment in a fileIn?
>

I see now that the unprintable character is FS (file separator) which is
decimal 28 and hex 1C. But I haven't located the code where it translates
an assignment operator to that and I do not yet understand why it would use
that character.

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240717/df40a3bb/attachment.htm>


More information about the Cuis-dev mailing list