Hi,
although Test_InternetConnection script is good, it's help file friend, also known as "Introducing thinBASIC/Example 6" has little problem.
In the "Main program" section, there is IF/THEN statement:
[code=thinbasic]
IF RunConnectToInternet() = TRUE THEN
Msg = "You are connected to Internet.\n" + _
"Your current connection mode is: " + INET_GETCONNECTIONMODE + "\n"
ELSE
Msg = "You are NOT connected to Internet.\n" + _
END IF
[/code]
... the Msg value in the else possibility ends with "_", but there is no need for it.
Thanks,
Petr
P.S. I would not normally put this minierror here, but I'm in aggressive mood, as Czech hockey team failed again on Olympic games
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Hi Eros,
sorry but I don't understand your post.
Bye,
Roberto
http://www.thinbasic.com
It is about hockey!
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks