|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
mattallen37
Expert
Joined: Thu Sep 29, 2011 11:09 pm Posts: 146 Location: Michigan USA
|
 Displaying "%"
How can I display the "%" symbol? I know the character is used as a formatter of strings, but I would really like to be able to display it. Being able to print it to the debug stream would be an added bonus. Is there a way to just print raw ASCII string data? In NXC, no strings get formatted unless you specifically use the formatting functions.
_________________ Matt
|
| Thu Mar 22, 2012 12:05 am |
|
 |
|
magicode
Moderator
Joined: Tue Sep 14, 2010 9:19 pm Posts: 494
|
 Re: Displaying "%"
Using "%%" in the debug stream works for me.
_________________ sudo rm -rf /
|
| Thu Mar 22, 2012 12:26 am |
|
 |
|
mattallen37
Expert
Joined: Thu Sep 29, 2011 11:09 pm Posts: 146 Location: Michigan USA
|
 Re: Displaying "%"
Perfect, thank you very much!
_________________ Matt
|
| Thu Mar 22, 2012 12:46 am |
|
 |
|
magicode
Moderator
Joined: Tue Sep 14, 2010 9:19 pm Posts: 494
|
 Re: Displaying "%"
You're very welcome.
_________________ sudo rm -rf /
|
| Thu Mar 22, 2012 8:59 am |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 5 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|