Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/User-input-Graphical/Icon/user-input-graphical.icon
Normal file
15
Task/User-input-Graphical/Icon/user-input-graphical.icon
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
procedure main()
|
||||
WOpen("size=800,800") | stop("Unable to open window")
|
||||
WWrite("Enter a string:")
|
||||
s := WRead()
|
||||
WWrite("You entered ",image(s))
|
||||
WWrite("Enter the integer 75000:")
|
||||
i := WRead()
|
||||
if i := integer(i) then
|
||||
WWrite("You entered: ",i)
|
||||
else
|
||||
WWrite(image(i)," isn't an integer")
|
||||
WDone()
|
||||
end
|
||||
|
||||
link graphics
|
||||
Loading…
Add table
Add a link
Reference in a new issue