is it possible in a patch to get info about which Pd-version is running the patch?
(i would like to conditionally use the [donecanvas( or the new [goprec( message
so the patch can still run in older versions of PD).
rolf
Unfortunately no. But there is an issue and a PR for that: https://github.com/pure-data/pure-data/issues/928
It's a shame that we forgot about this, otherwise this could have totally made it into Pd 0.56... FWIW I've added a Pd 0.57 milestone.
Christof
On 25.08.2025 12:27, rolfm@dds.nl wrote:
is it possible in a patch to get info about which Pd-version is running the patch?
(i would like to conditionally use the [donecanvas( or the new [goprec( message
so the patch can still run in older versions of PD).
rolf
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/BIMRCQAZHM...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
Yes, you could have a look at the [hcs/version] external.
Le 25/08/2025 à 12:27, rolfm@dds.nl a écrit :
is it possible in a patch to get info about which Pd-version is running the patch?
(i would like to conditionally use the [donecanvas( or the new [goprec( message
so the patch can still run in older versions of PD).
rolf
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/BIMRCQAZHM...
To unsubscribe send an email topd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.iem.at/
well, in my case the goprec is not working as hoped for:
i'm using the [donecanvasdialog...( to construct a table: setting dimensions, ranges and margins.
this dosn't seem possible with [goprec...(
"canvas: no method for 'goprec'"
rolf
rolfm@dds.nl schreef op 25-08-2025 12:27:
is it possible in a patch to get info about which Pd-version is running the patch?
(i would like to conditionally use the [donecanvas( or the new [goprec( message
so the patch can still run in older versions of PD).
rolf
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/BIMRCQAZHM...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
Am 26. August 2025 16:01:41 MESZ schrieb rolfm@dds.nl:
well, in my case the goprec is not working as hoped for:
i'm using the [donecanvasdialog...( to construct a table: setting dimensions, ranges and margins.
this dosn't seem possible with [goprec...(
"canvas: no method for 'goprec'"
you might try the new goprect
message instead.
mfg.sfg.jfd IOhannes