| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <html>
- <head>
- <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
- <title>Language Reference - Identifiers</title>
- <link rel="stylesheet" href="lang_ref.css" type="text/css">
- </head>
- <body>
- <br>
- <span class="Command"> Identifiers </span>
- <blockquote>
- <p>Identifiers are used for constant names, variable names, array names, function
- names and custom type names. <br>
- </p>
- <p>Identifiers must start with an alphabetic character, and may be following
- be any number of alphanumeric characters, or the underscore ('_') character.
- </p>
- <p>These are all valid identifiers:</p>
- </blockquote>
- <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
- <tr>
- <td>
-
- <blockquote>
- <br>
- <p>- Hello </p>
- <p>- Score </p>
- <p>- player1 </p>
- <p>- time_to_live </p>
- <p>- t__ </p>
- </blockquote>
- </td>
- </tr>
- </table>
- <p>
- <blockquote>
- <p>Indentifiers are not case sensitive. <br>
- </p>
- <p>For example, 'Test', 'TEST' and 'test' are all the same identifiers.<br>
- </p>
- <p>However, it is allowed for identifiers to be reused for functions and custom
- types names.<br>
- </p>
- <p>For example, you can have a variable called 'test', a function called 'test'
- and custom type name called 'test'. Blitz will be able to tell which one you
- are refering to by the context in which it is used. </p>
- </blockquote>
- </body>
- </html>
|