Difference between revisions of "Reference:Identifiers"

From POV-Wiki
Jump to navigation Jump to search
(indexentry fix)
m (identifier length change)
Line 1: Line 1:
 
{{#indexentry:Identifiers}}
 
{{#indexentry:Identifiers}}
 
{{#indexentry:identifier}}
 
{{#indexentry:identifier}}
<p>POV-Ray allows you to define identifiers for later use in the scene file.
+
<p>POV-Ray allows you to define identifiers for later use in the scene file. An identifier must be at least one characters long. It may consist of upper and lower case letters, the digits 0 through 9 or an underscore character (&quot;_&quot;). The first character must be an alphabetic character. See also: [[Reference:Declare and Local Directives#Declaring identifiers|Declaring Identifiers]]</p>
An identifier may be 1 to 40 characters long. It may consist of upper and
+
 
lower case letters, the digits 0 through 9 or an underscore character
+
<p class="Note"><strong>Note:</strong> In previous versions identifier names <em>were</em> limited to 40 characters. There has been a {{Change}} removing that restriction.</p>
(&quot;_&quot;). The first character must be an alphabetic character. The
 
declaration of identifiers is covered later.</p>
 
  
 
<p>All [[Reference:Keywords|keywords]] (reserved words) are fully lower case. Therefore it is recommended that
 
<p>All [[Reference:Keywords|keywords]] (reserved words) are fully lower case. Therefore it is recommended that
 
your identifiers contain at least one upper case character so it is sure to
 
your identifiers contain at least one upper case character so it is sure to
 
avoid conflict with reserved words.</p>
 
avoid conflict with reserved words.</p>

Revision as of 14:59, 1 December 2016

POV-Ray allows you to define identifiers for later use in the scene file. An identifier must be at least one characters long. It may consist of upper and lower case letters, the digits 0 through 9 or an underscore character ("_"). The first character must be an alphabetic character. See also: Declaring Identifiers

Note: In previous versions identifier names were limited to 40 characters. There has been a Change removing that restriction.

All keywords (reserved words) are fully lower case. Therefore it is recommended that your identifiers contain at least one upper case character so it is sure to avoid conflict with reserved words.