On Tue, Nov 7, 2017 at 1:42 PM, David Van Horn <dvanh...@cs.umd.edu> wrote:
> Thanks, I found the elements by using wxme-port->port and
> read-char-or-special until I found something special and it turns out
> it was caused by fractions.
>
> There are a couple weird things: (1) wxme-read reads them as numbers,
> not specials, and

Yes, that's because they have special support in there for them.

> (2) the "fractions" are actually rendered in decimal
> form in the file when I open it in DrRacket, which is why I didn't
> spot them by looking at the file (now that I know where they are, I
> can see they're special because cursor moves past the entire number
> "71.25" as though it's a single character).

You can also right click on them, I presume?

> But if I
> read-char-or-special on them, I get back something rendered as a
> fraction.  Maybe this has something to do with a difference in
> preferences between me and the author of the file?

I'm not sure about that.

> Other than copy/pasting, I can seem to recreate a decimal-looking
> number that is actually a special fraction, so I'm not sure how the
> author of the file accomplished this.

They couldn't have copied and pasted from the interactions window?

Robby

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to