[PD] convert symbol to int

Mathieu Bouchard matju at artengine.ca
Sun Jun 12 01:02:26 CEST 2005


On Sat, 11 Jun 2005, Mathieu Bouchard wrote:
> GridFlow::FObject.subclass("atof",1,1) {
>  def _0_symbol s
>    m = /[-+0-9\.eE]+/ .match s.to_s
>    send_out 0, Float(m[1])
>  end
> }

sorry, I wanted to say send_out 0, Float(m[0])

,-o--------o--------o--------o-. ,---. irc.freenode.net #dataflow |
| The Diagram is the Program tm| | ,-o-------------o--------------o-.
`-o------------o-------------o-' | | Mathieu Bouchard (Montréal QC) |
   | téléphone:+1.514.383.3801`---' `-o-- http://artengine.ca/matju -'


More information about the Pd-list mailing list