Sys TokenType

Revision as of 20:42, 12 February 2020 by Ldavidson (talk | contribs)

This system variable is one index for the system variable SyntaxColors (see Sys SyntaxColors). This indexes the token types values of colors in the rows of the SyntaxColors table. This cannot be changed. The members of this index are comments, text literals, keywords, variables, identifiers. Here is what these mean:

comments - Analytica comments, of the forms /* comment text */ or { comment text }

text literals - strings enclosed in quotes, of the forms '[text ' or " text "

keywords - reserved words in Analytica such as if, then, else, do, local, etc.

variables - these are words that are not keywords and not declared variables and not identifiers of any Analytica nodes or functions; by default, these are lighter colored than identifiers and help you spot typos from failing to type resolved names correctly or else spot intended names that you typed before having actually defined them

identifiers - these are declared variables or else resolved identifiers of Analytica nodes or functions

Comments


You are not allowed to post comments.