As there is no EsleIf command in ti-basic to make commands like this

Code:

If A>12
Then
EsleIf D>8
Then
Disp "Hello"
End

How would I make a nested If statement?
I think you mean ElseIf Wink
I think you can just do:

Code:
If A>12
Then
<stuff>
Else:If A>6
Then
<stuff>
Else:If A>3
Then
<stuff>
Else
<stuff>
End
End
End

Is this what you are asking for?
TheLastMillennial wrote:
I think you mean ElseIf Wink
I think you can just do:

Code:
If A>12
Then
<stuff>
Else:If A>6
Then
<stuff>
Else:If A>3
Then
<stuff>
Else
<stuff>
End
End
End

Is this what you are asking for?

Yes just ignore my poor spelling. Thanks
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
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 vote in polls in this forum

 

Advertisement