Can I use ascii characters other then the standard letters to variables and functions? Like can I declare a float 3.1416 by the name of the ascii character that looks like PI? What about function names?
This is a discussion on Valid variable and function names within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Can I use ascii characters other then the standard letters to variables and functions? Like can I declare a float ...
Can I use ascii characters other then the standard letters to variables and functions? Like can I declare a float 3.1416 by the name of the ascii character that looks like PI? What about function names?
No, I'm pretty sure variable and function names can only be alphanumeric (including the underscore). Also, they cannot start with a number.