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 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!
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
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
Bookmarks