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

Re: [sc-users] Constants



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

Thanks for this listing, it brings me again a bit deeper into the lang...

Till

On 27 Apr 2004, at 19:16, James McCartney wrote:


On Apr 27, 2004, at 4:25 AM, Till Bovermann wrote:

Ah, ok, thanks,

by the way, which constants are predefined?

I now know about

	pi

pi is not a constant, it is a syntax for numbers.
You can write 0.5pi or 2pi and it gets compiled to a single number.

	inf
	nil

inf nil true false are not constants either, they are singleton objects.

this, super, thisProcess, thisFunction, thisMethod, thisFunctionDef, thisThread are pseudo variables.

arg, var, classvar  are reserved words.

--
--- james mccartney james@xxxxxxxxxxxxxx <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language

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

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

iD8DBQFAj16mdULuWLxlveYRAsqfAJ9jtAhgJu8SyRaH2aK9c1fNPgkDeACfU3uZ
KfqcOGc7Qmt9yIp+gflUM/E=
=pldt
-----END PGP SIGNATURE-----