Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
31
Task/Jump-anywhere/PureBasic/jump-anywhere.purebasic
Normal file
31
Task/Jump-anywhere/PureBasic/jump-anywhere.purebasic
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
OnErrorGoto(?ErrorHandler)
|
||||
OpenConsole()
|
||||
Gosub label4
|
||||
Goto label3
|
||||
|
||||
label1:
|
||||
Print("eins ")
|
||||
Return
|
||||
|
||||
label2:
|
||||
Print("zwei ")
|
||||
Return
|
||||
|
||||
label3:
|
||||
Print("drei ")
|
||||
|
||||
label4:
|
||||
While i<3
|
||||
i+1
|
||||
Gosub label1
|
||||
Gosub label2
|
||||
Wend
|
||||
Print("- ")
|
||||
i+1
|
||||
If i<=4 : Return : EndIf
|
||||
x.i=Val(Input()) : y=1/x
|
||||
Input()
|
||||
End
|
||||
|
||||
ErrorHandler:
|
||||
PrintN(ErrorMessage()) : Goto label4
|
||||
Loading…
Add table
Add a link
Reference in a new issue