I can't figure out how to use the Printl command with multiple () blocks.
I.E. "Multiple blocks of text/color/position can be indicated into a single command just putting them into a () pairs"
It keeps telling me "invalid delimeter". I've tried seperating them with SPACE COMMA AMPERSAND SEMICOLON etc. Nothing seems to be what it wants.
Any ideas what I need to do here in my test program...?
'My system is Windows 11, ThinBasic 1.14.0 beta
Uses "Console"
Printl("Text" in %CColor_Blue)
Printl("Text" in %CColor_Green)
Printl("Text" in %CColor_Blue)("Text" in %CColor_Green)
WaitKey
LastRunTimeError.ini
[Script]
Main=C:\Users\Zamboni\Documents\TB\Console Colors display.tbasic
Include=
[RunTimeError]
DateTime=13/06/2025 20:16:59
Code=262
Description=Invalid delimiter
Line=28
LineCode=CONSOLE_WRITELINE("Text" IN %CCOLOR_BLUE)("Text" IN %CCOLOR_GREEN)
Token=%CCOLOR_BLUE
Additional=
mmm ... something is not perfect in help and in parsing, I will have a look
In the meantime, if you just want to mix colors, do not use () and separate by , in this way:
Uses "Console" Printl "Text" in %CColor_Blue Printl "Text" in %CColor_Green Printl "Text" in %CColor_Blue, "Text" in %CColor_Green WaitKey
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