Results 1 to 3 of 3

Thread: This message concerns an error . . . . .

  1. #1
    Junior Member TBProgramer52's Avatar
    Join Date
    Mar 2010
    Location
    Saint George, Ut
    Posts
    24
    Rep Power
    17

    This message concerns an error . . . . .

    I do wish to mentioned there is an error in the Tutorial example such as the console creation.
    Such as:

    Uses "Console"
    Console_WriteLine("Hello, I am console, who are you?")
    Dim Name As String = Console_ReadLine()
    Console_WriteLine("Hello " + Name)
    Console_WriteLine("Nice to see you again!")
    Console_WaitKey

    The variable Name is not a String variable without the '$' on the end, Please do correct this!

  2. #2
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,544
    Rep Power
    172
    guess because Name became a Keyword for UI-module (Dialog New Name...)
    exchange it to "sName" in the example and all should be fine.
    I think there are missing some Forum-sections as beta-testing and support

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732
    Thanks for reporting this,

    the $ is not mandatory for string variables in ThinBASIC, but Rene hit the nail on the head.

    Fix done, sent to Eros, will be present in next release!


    Petr
    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

Similar Threads

  1. The Message
    By peter in forum thinBasic General
    Replies: 6
    Last Post: 30-03-2014, 12:43
  2. Temp message for DanBaron
    By ErosOlmi in forum Shout Box Area
    Replies: 3
    Last Post: 06-11-2010, 20:49
  3. Message
    By Pipes in forum UI (User Interface)
    Replies: 2
    Last Post: 13-04-2010, 09:57
  4. New message previe option
    By ErosOlmi in forum General
    Replies: 0
    Last Post: 13-09-2006, 20:35

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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