[PD] Question on [struct]'s

Jonathan Wilkes jancsika at yahoo.com
Tue Jan 27 03:15:24 CET 2009


Symbols can be used with the -symbol flag like:
[set -symbol struct_name var]

They can't be used in [append].

Also note that if you click and drag a symbol, it outputs the message "drawnumber_motion: symbol" to the console for every pixel you move the mouse.

-Jonathan

--- On Tue, 1/27/09, Mike McGonagle <mjmogo at gmail.com> wrote:

> From: Mike McGonagle <mjmogo at gmail.com>
> Subject: [PD] Question on [struct]'s
> To: "the mailinglist PureData -" <pd-list at iem.at>
> Date: Tuesday, January 27, 2009, 2:28 AM
> Hello all,
> 
> I am working on some stuff with structs, and was wondering
> about the
> types of data that can be stored in a struct. From the
> documentation,
> it appears that you can have fields in the struct that are
> for
> 'symbol's, except that when I tried to use them, it
> gave me an error
> something like "float expected"... does this mean
> that struct's can't
> have symbols in them?
> 
> Also, have lists been implemented? I have not tried to work
> with them,
> but I figured that I could kill two birds with one question
> (well,
> actually two, but who's counting...)...
> 
> Mike
> 
> -- 
> Peace may sound simple—one beautiful word— but it
> requires everything
> we have, every quality, every strength, every dream, every
> high ideal.
> —Yehudi Menuhin (1916–1999), musician
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list


      




More information about the Pd-list mailing list