Skip to content

SQX006 — Type incompatibility

Severity: error — blocks saving until fixed.

An operation received a type it can’t work with. There is no implicit string↔number coercion in SquareX, and & requires string operands.

Wrap numbers in ToText before &; make Case/Switch branches return one shared type; don’t mix "5" + 1.

// fails: & needs strings
Label := "total: " & [Revenue]
// works:
Label := "total: " & ToText([Revenue])