Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/User-input-Text/PureBasic/user-input-text.basic
Normal file
16
Task/User-input-Text/PureBasic/user-input-text.basic
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
If OpenConsole()
|
||||
; Declare a string and a integer to be used
|
||||
Define txt.s, num.i
|
||||
|
||||
Print("Enter a string: ")
|
||||
txt=Input()
|
||||
|
||||
Repeat
|
||||
Print("Enter the number 75000: ")
|
||||
num=Val(Input()) ; Converts the Input to a Value with Val()
|
||||
Until num=75000
|
||||
; Check that the user really gives us 75000!
|
||||
|
||||
Print("You made it!")
|
||||
Delay(3000): CloseConsole()
|
||||
EndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue