[sc-users] determining if a class exists

Sciss contact at sciss.de
Mon Dec 4 12:38:33 PST 2006


from GUI.swing :

	if( \JSCWindow.asClass.isNil, { warn( "You do not seem to have  
SwingOSC installed - JSCWindow is missing." )});

Am 04.12.2006 um 12:15 schrieb Till Bovermann:

>
> On 03 Dec 2006, at 01:01, chris wrote:
>
>> Alberto de Campo wrote:
>>>> hullo again, this is my daily request :)
>>>>
>>>> does anyone know a good way to discover whether a class exists?
>
>
> this question remains...
>
> 	try{WSk}{"non existent class"}
>
> does not work...
> anyone an idea?
>
> till



More information about the sc-users mailing list