RosettaCodeData/Task/User-input-Text/Ursa/user-input-text.ursa

15 lines
261 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
#
# user input
#
# in ursa, the type of data expected must be specified
decl string str
decl int i
out "input a string: " console
set str (in string console)
out "input an int: " console
set i (in int console)
out "you entered " str " and " i endl console