Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Krid on January 25, 2007, 05:56:00 am

Title: [83+ BASIC]How to use the % character?
Post by: Krid on January 25, 2007, 05:56:00 am
I seem to be incapable of printing a % to the screen. When I write my programs in Ti Graph Editor it replaces the %'s with a ?.

I, however, found a BASIC program that actually stores a bunch of these "hidden" characters in Str1, http://www.ticalc.org/archives/files/fileinfo/375/37572.html

The source does not seem to make sense when opened in Ti Graph Editor. So.. how do I do this?

Does this mean I'm working on something? Yeah, it does  :Ptongue.gif
Title: [83+ BASIC]How to use the % character?
Post by: elfprince13 on January 25, 2007, 07:56:00 am
use SourceCoder, or get a mac and use TI Connect OSX
Title: [83+ BASIC]How to use the % character?
Post by: tifreak on January 25, 2007, 08:50:00 am
You could just send this program to your calculator...

http://www.ticalc.org/archives/files/fileinfo/384/38404.html

Copy all the symbols you want from there.
Title: [83+ BASIC]How to use the % character?
Post by: Radical Pi on January 25, 2007, 11:04:00 am
I made a program with all the characters you can access (on an 84+SE; I've been told there are problems with it on an 83+).
That includes quote and the STO-> arrow.
Title: [83+ BASIC]How to use the % character?
Post by: trevmeister66 on January 25, 2007, 11:18:00 am
and where is this so called program  O_Oshocked2.gif
Title: [83+ BASIC]How to use the % character?
Post by: DJ Omnimaga on January 25, 2007, 01:42:00 pm
nice to see you are still into calc stuff krid. Unfortunately i think the % char cant be used, except maybe with a special program :(sad.gif, else you need to use the I% from the finance app menu and hide the I with a space :(sad.gif
Title: [83+ BASIC]How to use the % character?
Post by: Ranman on January 25, 2007, 02:51:00 pm
Why do tifreak's suggestions get glossed over?  :???:confus.gif:(sad.gif
Title: [83+ BASIC]How to use the % character?
Post by: DJ Omnimaga on January 25, 2007, 03:20:00 pm
i guess they prbly missed his post x.x or didnt read carefully
Title: [83+ BASIC]How to use the % character?
Post by: Radical Pi on January 25, 2007, 11:45:00 pm
Well, I didn't actually add " and -> to the prog yet, as it would require some external variables from the user.
But to get a quote, make a prog with Input Str1 and put in a quote.
STO is a little more fun; enter a storing equation on the homescreen, go into Y= editor, 2nd + Entry, delete the extra chars, and Equ->Str for the win.
Title: [83+ BASIC]How to use the % character?
Post by: DJ Omnimaga on January 26, 2007, 01:52:00 am
hmm I wonder if this was asked before, but is there a way to store "->" into a string from a program without having to carry the string with us in the zip file/group??
Title: [83+ BASIC]How to use the % character?
Post by: Radical Pi on January 26, 2007, 08:46:00 am
I don't think so without asm.
Title: [83+ BASIC]How to use the % character?
Post by: Krid on January 27, 2007, 12:26:00 am
Thanks for the solutions so far. The use of sourcecoder seems to be the most appropriate one, however I cant get it to work with the % character. All solutions requiring external programs on the calc will work but are not very fitting, seeing the game (Yeah, it's game.) would need an external program to work.

Basically I'm looking for a way to implent the % sign directly into the program code.
Title: [83+ BASIC]How to use the % character?
Post by: DJ Omnimaga on January 27, 2007, 03:12:00 am
QuoteBegin-Krid+27 Jan, 2007, 6:26-->
QUOTE (Krid @ 27 Jan, 2007, 6:26)
seeing the game (Yeah, it's game.)  

%)rolleyes2.gif
Title: [83+ BASIC]How to use the % character?
Post by: tifreak on January 27, 2007, 03:20:00 am
Krid, if you use the program I posted on the calc and copied it into your game, then you do not need an external program. The whole point of the program Kerm and I made is to allow a programmer to copy a symbol into their program.
Title: [83+ BASIC]How to use the % character?
Post by: Krid on January 27, 2007, 03:49:00 am
QuoteBegin-tifreak8x+27 Jan, 2007, 14:2-->
QUOTE (tifreak8x @ 27 Jan, 2007, 14:20)
Krid, if you use the program I posted on the calc and copied it into your game, then you do not need an external program. The whole point of the program Kerm and I made is to allow a programmer to copy a symbol into their program.  

:banghead:banghead.gif I missed the crucial part of your program!  :banghead:banghead.gif

Great, I've got it to work now! :)smile.gif:king:king2.gif