Petr Schreiber
22-02-2006, 00:35
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:
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
... 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 :lol:
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:
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
... 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 :lol: