INPUT: Revision history

From Dark Signs Online
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

18 March 2024

  • curprev 04:5504:55, 18 March 2024Doridian talk contribs 475 bytes +475 Created page with "''string'' '''INPUT'''(''string'' message) Get input from the user. Returns the given string. == Parameters == ''message'' This will be printed before the cursor. == Example == Sample menu script, using INPUT. <pre>SAY " [0] Item 1" SAY " [1] Item 2" SAY " [2] Quit" $in = INPUT(Make your choice) IF $in = 0 THEN SAY Item 1 ELSE IF $in = 1 THEN SAY item 2 ELSE IF $in = 2 THEN SAY Bye! EXIT ELSE SAY Invalid input! END IF</pre>"