Input

From Mesham
Revision as of 15:44, 15 April 2019 by Polas (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This input(i) function will prompt the user for input via stdin, the result being placed into i

  • Pass: A variable for the input to be written into, of type String
  • Returns: Nothing

Example

#include <io>

function void main() {
   var f:String;
   input(f);
   print("You wrote: "+f+"\n");
};

Since: Version 0.41b