Argument in Function starting with a number (1 Viewer)

padlocked17

Registered User.
Local time
Today, 15:32
Joined
Aug 29, 2007
Messages
276
Can an argument for a function start with a number? Every time I try it i get a Compile Error, Expected: identifier.

Any work arounds for this?
 

jdraw

Super Moderator
Staff member
Local time
Today, 16:32
Joined
Jan 23, 2006
Messages
15,385
Variables start with Alpha

--found this via Google --
Naming Variables

Your naming convention should also cover variables. Aside from your naming convention, there are a few inherent rules you need to consider:

*

A variable name must begin with an alphabetic character.
*

Don't use the following special characters in a variable name: ., %, $, !, #, @, and $.
*

Variable names must be unique. It really isn't as simple as all that, but for now, knowing that you can't give two variables in the same procedure the same name is sufficient.
*

A variable name can consist of up to 255 characters.
 

padlocked17

Registered User.
Local time
Today, 15:32
Joined
Aug 29, 2007
Messages
276
Awesome. Thanks for that info.
 

Users who are viewing this thread

Top Bottom