variable names limitation

N

Noyan Aydin

Do we have any limitation in variable declerations. For instance how
long a variable name can be? is there any name convention do we start a
variable with a number (we tried and see it is not start with a number)
but If you know any other limitation about variable such that could you
share with us
Thank you in advance.
 
D

David Vallner

--------------enigA9A09A3C1309A296F0F1B255
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Noyan said:
Do we have any limitation in variable declerations. For instance how
long a variable name can be? is there any name convention do we start a=
variable with a number (we tried and see it is not start with a number)=
but If you know any other limitation about variable such that could yo= u
share with us
Thank you in advance.
=20

AFAIK, it's /[_a-zA-Z][_a-zA-Z0-9]*/ ;P

A pretty much ubiquitous convention.

David Vallner


--------------enigA9A09A3C1309A296F0F1B255
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFhGaQy6MhrS8astoRAuZBAJkBSqBPlCzAlZbviKYpeb+xZOSKzwCfZmJO
6AmuUPiCcrM11u52XuOXjos=
=R/59
-----END PGP SIGNATURE-----

--------------enigA9A09A3C1309A296F0F1B255--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,221
Messages
2,571,133
Members
47,747
Latest member
swapote

Latest Threads

Top