Nim templates are hygienic and not plain text substitutions.
The output of a template must be valid Nim syntax, the most similar would be a tuple: template DOP_COLOR(col: untyped):untyped= (HIWORD(col), LOWORD(col)) Run
Nim templates are hygienic and not plain text substitutions.
The output of a template must be valid Nim syntax, the most similar would be a tuple: template DOP_COLOR(col: untyped):untyped= (HIWORD(col), LOWORD(col)) Run