FANDOM


:Prompt Var1[, Var2, ..., VarN]

Will prompt the user to enter information to store into a variable by displaying the variable and a question mark. It works similarly to Input.

Location Edit

  • PRGM
  • I/O
  • 2:Prompt

Example Edit

:ClrHome
:Prompt A,B
:Disp A+B

This program asks the user to enter a value for A and B, then adds them, and displays the sum. If the user inputs 3 for A and 4 for B, the screen would end up looking like:

A?
       3
B?     
       4
       7

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.