[PD-cvs] pd/src objective.tcl,1.1.2.8,1.1.2.9
Mathieu Bouchard
matju at users.sourceforge.net
Thu Apr 20 03:46:35 CEST 2006
- Previous message: [PD-cvs] pd/src desire.tk,1.1.2.166,1.1.2.167
- Next message: [PD-cvs] externals/moocow/gfsm/src pd_paths.c, NONE, 1.1 pd_paths.h, NONE, 1.1 gfsm-help.pd, 1.1, 1.2 gfsm_automaton-help.pd, 1.1, 1.2 gfsm_state-help.pd, 1.1, 1.2 pd_automaton.c, 1.1, 1.2 pd_automaton.h, 1.1, 1.2 pd_gfsm.c, 1.1, 1.2 pd_state.c, 1.1, 1.2 pd_state.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30707
Modified Files:
Tag: devel_0_39
objective.tcl
Log Message:
now supports @$ and $@$ syntaxes, for variable instance variable.
Index: objective.tcl
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/objective.tcl,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -C2 -d -r1.1.2.8 -r1.1.2.9
*** objective.tcl 16 Apr 2006 08:30:45 -0000 1.1.2.8
--- objective.tcl 20 Apr 2006 01:46:32 -0000 1.1.2.9
***************
*** 37,45 ****
proc def {self selector args body} {
global _; if {![info exists _($self:_class)]} {error "unknown class '$self'"}
! proc ${self}_$selector "self $args" "global _; [regsub -all @(\[\\w\\?\]+) $body _(\$self:\\1)]"
}
proc def* {self selector args body} {
global _; if {![info exists _($self:_class)]} {error "unknown class '$self'"}
! proc* ${self}_$selector "self $args" "global _; [regsub -all @(\[\\w\\?\]+) $body _(\$self:\\1)]"
}
--- 37,45 ----
proc def {self selector args body} {
global _; if {![info exists _($self:_class)]} {error "unknown class '$self'"}
! proc ${self}_$selector "self $args" "global _; [regsub -all @(\[\\\$\\w\\?\]+) $body _(\$self:\\1)]"
}
proc def* {self selector args body} {
global _; if {![info exists _($self:_class)]} {error "unknown class '$self'"}
! proc* ${self}_$selector "self $args" "global _; [regsub -all @(\[\\\$\\w\\?\]+) $body _(\$self:\\1)]"
}
***************
*** 112,115 ****
--- 112,116 ----
#set _(Thing:_super) {}
def* Thing init {} {}
+ def Thing == {other} {return [expr ![string compare $self $other]]}
# virtual destructor
- Previous message: [PD-cvs] pd/src desire.tk,1.1.2.166,1.1.2.167
- Next message: [PD-cvs] externals/moocow/gfsm/src pd_paths.c, NONE, 1.1 pd_paths.h, NONE, 1.1 gfsm-help.pd, 1.1, 1.2 gfsm_automaton-help.pd, 1.1, 1.2 gfsm_state-help.pd, 1.1, 1.2 pd_automaton.c, 1.1, 1.2 pd_automaton.h, 1.1, 1.2 pd_gfsm.c, 1.1, 1.2 pd_state.c, 1.1, 1.2 pd_state.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list