[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Constants



it aint a variable, in the sense that you can't declare it and store things in it.

try:

var pi;
pi = 3.14159;

you get an error the same way you do if you try var nil or inf.
these are all literals representing objects directly in the program text, in the same way that writing 4.4 is a literal, and are supported directly
by the compiler.

_c

On 27/04/2004, at 7:31 PM, Till Bovermann wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey there,

I was wondering about any Static variables like "pi" are defined in scLang.
Don't found anything...

thanks for reading

Till
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFAjihwdULuWLxlveYRAj3kAJ9xHVDQ/tJTfUYMTyRDNYnyRufryACfd0X7
bVs9EDdv9yu5kdYk7JjNkTM=
=BvZ6
-----END PGP SIGNATURE-----

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users