Jump to content
Macro Express Forums

Recommended Posts

Posted

Is MEP to handle "≥" and "≤" characters? 

 

When I save a string variable containing one of these, they inevitably get turned into "=". In fact, it doesn't even seem like the editor can handle these characters... they always just turn into the "=" symbol. I would like MEP to recognize these characters and then convert them to their text form. My thought was to use the command "Variable set to ASCII Char", but I don't believe that there is a number that corresponds to these symbols. 

 

 

 

Posted

MAP can not do Unicode. It needs to be in the ASCII/ANSI set. However sometimes symbols that look the same exist in Unicode and ASCII. Like fancy versions. Like how Word changes straight quotation marks into 'turned in" quotes. Most users don't notice the difference. 

Also it depends on what font you are using. Remember these are all ones and zeros, 8 of them precisely for each character. An "A" can look like a funny symbol in Windings. 

There is no "greater than or equal to" in the ASCII set. But in the extended ASCII there is one at 242 and 243. But many fonts display differnt characters in the extended. 

http://www.asciitable.com/

I'll look after lunch if I can get one of those into a message box in MEP. 

Posted

Extended ASCII charts like this all show 242 as that "O" with a feather in it's cap. It seems that most fonts abide by this instead of the original assignment. Perhaps it can't be done. I'll think more after lunch. 

 

BTW Unicode is, with a little qualification, two bytes. So MEP will usually only see the first byte and interpret that as whatever it is in the ASCII scheme. So there will be a large number that will always appear as "=" or other random character. It's cutting the character's bits in half. 

Posted
19 minutes ago, Cory said:

Extended ASCII charts like this all show 242 as that "O" with a feather in it's cap. It seems that most fonts abide by this instead of the original assignment. Perhaps it can't be done. I'll think more after lunch. 

 

BTW Unicode is, with a little qualification, two bytes. So MEP will usually only see the first byte and interpret that as whatever it is in the ASCII scheme. So there will be a large number that will always appear as "=" or other random character. It's cutting the character's bits in half. 

 

I've also tried using 242 and 243 without luck. Like you mentioned, it seems to end up as ò or ó

Posted

I believe the only solution for you would be to find a font that contains the symbols in the ANSI (Code page 437) characters. I looked at  a few that sound like CP 437 but they don't seem to work for 242 and 243.

Posted

This page shows their font containing them. Probably too ugly for your use however. Maybe someone out there has a font just for math symbols. 

Posted
22 minutes ago, Cory said:

Again, too ugly probably, but this is what I had in mind. See that characters "7" and "8" are your symbols. 

lol yeah, I guess I'll just live with this problem. Some of these standard ASCII values seem a bit strange and not very useful, whereas I would think that ≥ and ≤ are more universally known and used 😩

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...