[PD] Tcl error for [knob] and [mknob]

Antoine Rousseau antoine at metalu.net
Thu Sep 22 08:37:26 CEST 2016


>
> to simply check the version and call that iem color function


I don't think so ; the interface of some functions has changed, so you need
to be aware of the version at compilation time, and have to use this
version at runtime. So I don't think you can build an external that would
be compatible for both versions.


2016-09-22 0:22 GMT+02:00 Dan Wilcox <danomatika at gmail.com>:

> On Sep 21, 2016, at 3:40 PM, pd-list-request at lists.iem.at wrote:
>
> *From: *Antoine Rousseau <antoine at metalu.net>
>
> Thanks !
> and thanks to Dan too, pointing me directly to the right direction !
> But I realize that if I fix mknob for latest Pd it will become
> incompatible with older ones…
>
>
> I believe the changes handle saving and loading based on the compatibility
> mode, so you should be able to simply check the version and call that iem
> color function in versions of pd less than 0.48.
>
> --------
> Dan Wilcox
> @danomatika <https://twitter.com/danomatika>
> danomatika.com
> robotcowboy.com
>
>
>


-- 
Antoine Rousseau
  http://www.metalu.net <http://metalu.net> __
http://www.metaluachahuter.com/
<http://www.metaluachahuter.com/compagnies/al1-ant1/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160922/1436be28/attachment-0001.html>


More information about the Pd-list mailing list