Skiylia-Lang / Verboscript

A toy programming language made in python; designed to be close to written english
GNU General Public License v3.0
2 stars 0 forks source link

User input #11

Open SK1Y101 opened 3 years ago

SK1Y101 commented 3 years ago

it is incredibly useful to get user input:

ie: python uses input() for a raw prompt, or input("what is you name?") to show the prompt "what is your name?" when asking for an input.

a potential idea is:

ask <text to show>

Which may need some language along the lines of "the response" to get the input from the ask statement

wit a worked example:

create a variable called x.
ask "what is your name?", and store the response in x.
show x.

I am really not sure here, I don't know if i like this or not.