SQX006 — Type incompatibility
Severity: error — blocks saving until fixed.
What happened
Section titled “What happened”An operation received a type it can’t work with. There is no implicit string↔number coercion in SquareX, and & requires string operands.
How to fix it
Section titled “How to fix it”Wrap numbers in ToText before &; make Case/Switch branches return one shared type; don’t mix "5" + 1.
Example
Section titled “Example”// fails: & needs stringsLabel := "total: " & [Revenue]// works:Label := "total: " & ToText([Revenue])