[PD] Test if an argument is void
Liam Goodacre
liamg_uw at hotmail.com
Mon Apr 9 15:29:09 CEST 2018
If you don't mind using externals, you can use [iemguts/canvasargs] or [else/args]. I can't think of a way of doing this in Vanilla though. As you say, no argument seems to be indistinguishable from 0.
________________________________
From: Pd-list <pd-list-bounces at lists.iem.at> on behalf of abel.jerome at free.fr <abel.jerome at free.fr>
Sent: 09 April 2018 13:02
To: pd-list at lists.iem.at
Subject: [PD] Test if an argument is void
Hi all,
Does anyone find a way to test if an argument is void into an abstraction ? The default behavior is to consider it as a float "0", but it would be very helpful to distinguish a "0" and no argument.
Thanks.
---
Jérôme
http://jeromeabel.net
_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180409/4eb84158/attachment.html>
More information about the Pd-list
mailing list