Beginnersquestion: Some listings don't start running
Posted: Mon Nov 25, 2024 9:48 pm
Hello,
I'm still exploring Purebasic.
In the beginnerguide I saw this little testlisting, but it does not run. It does nothing, also gives no error?
Is there something I'm doing wrong?
Thanks,
Rudy M
I'm still exploring Purebasic.
In the beginnerguide I saw this little testlisting, but it does not run. It does nothing, also gives no error?
Is there something I'm doing wrong?
Thanks,
Rudy M
Code: Select all
If OpenConsole()
PrintN("1. Official PureBasic Home")
PrintN("2. Official PureBasic Forums")
PrintN("3. PureArea.net")
PrintN("")
PrintN("Enter a number from 1 To 3 and press Return: ")
Destination.s = Input()
Select Destination
Case "1"
RunProgram("http://www.purebasic.com")
Case "2"
RunProgram("http://forums.purebasic.com")
Case "3"
RunProgram("http://www.purearea.net")
EndSelect
EndIf
End