User input/Text: Difference between revisions
Content added Content deleted
m (→{{header|PowerShell}}: strong typing. Should be a little better than just dumping a string into $number ... next up: check for the number being 75000) |
No edit summary |
||
Line 730: | Line 730: | ||
question task "What is your quest" |
question task "What is your quest" |
||
question doom "What is the air-speed velocity of an unladen swallow"</lang> |
question doom "What is the air-speed velocity of an unladen swallow"</lang> |
||
=={{header|TI-83 BASIC}}== |
|||
This program leaves the string in String1, and the integer in variable "i". |
|||
<lang ti83b> |
|||
:Input "Enter a string:",Str1 |
|||
:Prompt i |
|||
:If(i ≠ 75000): Then |
|||
:Disp "That isn't 75000" |
|||
:Else |
|||
:Stop |
|||
</lang> |
|||
=={{header|TI-89 BASIC}}== |
=={{header|TI-89 BASIC}}== |