PDocs 3.2: Collecting User Input - GitbyteMaster/PRIME-Lang GitHub Wiki

Collecting User Input

To collect user input, the built-in system module must be imported. To learn how to import the module, click here. The correct syntax of the command is:

system.input(*);

Currently, the arguments within this function do not affect the output due to a bug. But the user's input is still accessible. To access a user's console input, insert this syntax into a function.

[example](>system.input);

> Signifies that the argument is anything but a string. Let's try displaying the input to the console.

import system

system.input("");
system.display("Your name is:");
system.display(>system.input);