Interesting cast for null character

For questions and postings not covered by the other forums
Stokes
Posts: 66
Joined: Wed Oct 13, 2010 2:06 pm
Location: QLD, Australia

Interesting cast for null character

Postby Stokes » Wed May 21, 2014 9:33 am

If you put the code below into a workspace:

write "".Character;
write "".Character = "?";

It will output that "".Character = ?

But when you try to check if "".Character = "?" it does not.

So what is that character that Jade is outputing when you write "".Character; :?:

JohnP
Posts: 73
Joined: Mon Sep 28, 2009 8:41 am
Location: Christchurch

Re: Interesting cast for null character

Postby JohnP » Wed May 21, 2014 9:38 am

I believe unprintable characters are shown as "?" when you write them.

To see what the unprintable character is, try this

write "".Character.Binary.display;


Return to “General Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 17 guests