-
... SAVE */ *saveData { arg mx, register; var f, registerData, cables; f = IdentityDictionary.new; f[MxUnit] = { arg unit; [ MxUnit, unit.saveData, unit.inlets.collect(mx.findID(_)), unit.outlets.collect(mx.findID(_))] }; f[MxChannel] = { arg ...
-
... is.at(first); if (rest.isEmpty) { ^res } { ^res.deepAt2(*rest) }; }; ^nil } } + Dictionary { // get this dict's keys and those of all parents allKeys { |species| var dict = this, ancestry = []; while { dict.notNil } { ancestry = ancestry.ad ...
-
... true). For protecting whole lists from immediate replacements see PLn . envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... em.abs <= val.abs) { indices = indices.add(i) } }; ^indices } } // converts all dictionary data in string format to float format + Dictionary { dataAsStringToFloat { var stringToFloat = { |key,val| val.isKindOf(Dictionary).if { val.keysValu ...
-
... istVars { this.help(\var) } listMethods { this.help(\method) } // return a flat dictionary with all methods allMethods { var getter = { |level, list| // methods must be added from top (so children override) // thus, recurse all the way up b ...
-
... = initHandler; switchLiveButtonEvent = initSwitchLiveButtonEvent; stageMaster = Dictionary.new; leftMasterIndicator = LevelIndicator.new.maxWidth_(12).drawsPeak_(true).warning_(0.9).critical_(1.0); rightMasterIndicator = LevelIndicator.new. ...
-
... .addExpected( 6, \scsynth ); internals.addExpected( 7, \swingosc ); processes = Dictionary.new; processes.put( 5, "sclang"); procStats = Dictionary.new; processWatcher = SkipJack.new( { if ( Server.all.asArray.collect{ |it| it.serverRunning ...
-
... unction of the class that one wants to make an instance of some type class. */ +Dictionary{ get{ |key| ^this.at(key) !? Some(_) ?? None() } }
-
... Action; list = []; addresses = List[]; msgNames = List[]; anaDict = (nicknames: Dictionary[], messagesByAddr: Dictionary[], msgNamesByAddr: Dictionary[] ); this.addDefaultNicknames; listenFunc = { |msg, t, sender| var arr, nick; if (trackAd ...
-
... rtPath| var w; action = a; listViews=[]; selectedIndices=[]; attributes=IdentityDictionary(); // the attributes of the ListViews view = Window.new(title,Window.flipY(Rect(100,100,colWidth,400) ) ).front; view.layout_(GridLayout().hSpacing_( ...