Identifier Reference

From the CreationKit Wiki
Revision as of 13:35, 10 September 2014 by imported>Egocarib
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<identifier> ::= (<letter> | '_') (<letter> | <digit> | '_')*

An identifier is simply a name in Papyrus that refers to a variable, function, script, or property. A valid identifier consists of a letter or underscore, optionally followed by several other letters, digits, or underscores.

Examples[edit | edit source]

; Valid identifiers
HelloWorld
Function01
Ultra_Awesome__Var3
_IAmCool
_4You
i


; Invalid identifiers
4you
*Star
BFargle%