Difference between revisions of "Reference:Identifiers"

From POV-Wiki
Jump to navigation Jump to search
m (1 revision: Initial Load (TF))
 
m (Precision about 40 char limited version number)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#indexentry:Identifiers|identifier}}
+
{{#indexentry:Identifiers}}
====Identifiers====
+
{{#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 versions before 3.6.2 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>

Latest revision as of 20:26, 2 July 2021

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 versions before 3.6.2 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.