Continued "My language mylangV1.0 officially launched": input and output in mylang
Preface
"My language mylangV1.0 officially launched"
Start
- enter
The method described above@built_in python_run:comp('$<name> = "{0}"'.format(input('<str>')))
<name>
and<str>
should be replaced
<name>
: the name to be entered into the (variable)
<str>
:( input) prompt - Output
@built_in python_run:print('{0}'.format(comp('<val>')))
<val>
Replace in the above method
<val>
: (output) value
3. Other@built_in python_run:<cmd>
<cmd>
Replace in the above method
<cmd>
: python instruction
Author
hit-road
Bye, get out of class is over!
Hit-road will be updated from time to time, see or leave!