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

Re: [sc-users] Constants




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