2018-09-15 05:31:26

hello all,
I am learning to code in pure basic, since, as you may have expected, I have some experience with basic on my braillenote. however, I am having a lot of trouble making the thing print things, let alone make a game. i need help!

2018-09-15 13:33:00

How you wanna print stuff? Dialogs, Console, NVDA, SAPI?
Here are all 4 varriants
1. Dialog
MessageRequester("Hi","I am your first PureBasic program")
Console:
OpenConsole()
Print ("Hello world!")
Input()
NVDA and Sapi. You will need to get Tolk Library.
Then put the tolk.lib in your "compileers" folder located in main pure basic installation and also put all screenreader's libraries in your program's folder and do the following
XInclude("tolk.pb")
OpenConsole()
Tolk::Load
Tolk::speak("I am loaded!")
Tolk::Unload
End
If you want to speak through SAPI, include tolk and type the following
Tolk::UseSapi = #true
And then speak as normal.

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com