Results 1 to 4 of 4

Thread: Little error

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,800
    Blog Entries
    3
    Rep Power
    694

    Little error

    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,198
    Blog Entries
    2
    Rep Power
    10

    Little error


    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3

    Little error

    Hi Eros,

    sorry but I don't understand your post.

    Bye,
    Roberto
    http://www.thinbasic.com

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,198
    Blog Entries
    2
    Rep Power
    10

    Little error

    It is about hockey!
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •