Hey guys! There's big stuff going on behind the scenes! Follow @UnSyntaxSoft on Twitter to keep up to date! (Registry is down again :( )




Post Posted: Thu Oct 04, 2007 12:49 am Reply with quote
Do "!" and "?" have any use other than in strings?
_________________
"Mac's are the Perfect Computer", said the Perfect Idiot.




Testing for:
Vera
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.

JoostinOnline
Senior
Senior

Posts: 428
Joined: 19 Aug 2007
Location: Behind You
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN MessengerICQ Number

Post Posted: Thu Oct 04, 2007 12:52 am Reply with quote
? doesn't do anything I'm a where of, but ! does. For example, 5! is equivalent to 1*2*3*4*5, so 5! = 120
_________________



Rax14207
Resident Bot Killer
Resident Bot Killer

Posts: 183
Joined: 03 Jul 2007
Location: On UnSS, SLURKING!!!!
View user's profile Send private message Send e-mail MSN Messenger

Post Posted: Thu Oct 04, 2007 1:00 pm Reply with quote
IIRC, "?" is an extraneous symbol in the programming/calculating sense. I believe that the only reason it's there, is because the TI-OS itself uses it:

:Input A yields ?
:Prompt A yields A=?
_________________
Projects
xcCode DE - ?% - lots of work to do
Project IB - 0% - planning
Mugen Project - 0% - Future project, no plans yet
"Alenda lux ubi orta libertas" - Let learning be cherished were liberty has arisen

Keith
OmniAdmin
OmniAdmin

Posts: 302
Joined: 30 Jun 2007
Location: His Office
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger

Post Posted: Thu Oct 04, 2007 11:49 pm Reply with quote
Keith wrote:
IIRC, "?" is an extraneous symbol in the programming/calculating sense. I believe that the only reason it's there, is because the TI-OS itself uses it
But the TI-OS uses so many other symbols that are not available without hacks or asm programs Confused
_________________
"Mac's are the Perfect Computer", said the Perfect Idiot.




Testing for:
Vera
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.

JoostinOnline
Senior
Senior

Posts: 428
Joined: 19 Aug 2007
Location: Behind You
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN MessengerICQ Number

Post Posted: Fri Oct 05, 2007 12:56 am Reply with quote
"?" is probably just too useful a character to NOT be available, but AFAIK that's its only function.
"!" is the factorial function.
_________________
Tasty symbols: → ÷ ∟ ≥ ≠ ≤ ± π θ √ ∞ ∑ ► → ∟ ⌂ º ± Ω π

如果你能看得懂這個句子,送我一個PM。

Xphoenix
Forum Sage
Forum Sage

Posts: 632
Joined: 25 Jul 2007
Location: Spain
View user's profile Send private message
Display posts from previous:   
Reply to topic
Page 1 of 1
Return to TI-BASIC