Difference between revisions of "Identifier Reference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
(Created page with " <identifier> ::= (<letter> | '_') (<letter> | <digit> | '_')* An identifier is simply a name in Papyrus that refers to a variable, [[Function Reference|f...")
 
imported>Egocarib
 
Line 8: Line 8:
; Valid identifiers
; Valid identifiers
HelloWorld
HelloWorld
Function01
Ultra_Awesome__Var3
_IAmCool
_IAmCool
_4You
_4You

Latest revision as of 13:35, 10 September 2014

<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%