Idiomatically determine all the characters that can be used for symbols: Difference between revisions

m
tidy up task description
(→‎{{header|Perl 6}}: clarify about whitespace not being allowed in symbols)
m (tidy up task description)
Line 1:
{{draft task}}
 
Idiomatically determine all the characters that can be used for ''symbols''.
The word ''symbols'' is meant things like names of variables, procedures/ (i.e., named fragments of programs/, functions/, subroutines/, routines), statement labels, events or conditions, and in general, anything a computer programmer can choose to ''name'', but not being restricted to this list.   ''Identifiers'' might be another name for ''symbols''.
 
The method should find the characters regardless of the hardware architecture that is being used   (ASCII, EBCDIC, or other).
The word ''symbols'' is meant things like names of variables, procedures/programs/functions/subroutines/routines, statement labels, events or conditions, and in general, anything a computer programmer can choose to ''name'', but not being restricted to this list.   ''Identifiers'' might be another name for ''symbols''.
 
;taskTask requirements
 
The method should find the characters regardless of the hardware architecture that is being used   (ASCII, EBCDIC, or other).
 
;task requirements
 
Display the set of all the characters that can be used for symbols which can be used (allowed) by the computer program.
<br>You may want to mention what hardware architecture is being used, and if applicable, the operating system.
 
Note that most languages have additional restrictions on what characters can't be used for the first character of a variable or statement label, for instance. &nbsp; These type of restrictions needn't be addressed here &nbsp; (but can be mentioned).
<br>You may want to mention what hardware architecture is being used, and if applicable, the operating system.
 
Note that most languages have additional restrictions on what characters can't be used for the first character of a variable or statement label, for instance. &nbsp; These type of restrictions needn't be addressed here &nbsp; (but can be mentioned).
 
;See also
;Cf:
* [[Idiomatically_determine_all_the_lowercase_and_uppercase_letters|Idiomatically determine all the lowercase and uppercase letters]].
<br>
 
=={{header|ooRexx}}==
Anonymous user