<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
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.<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of abel.jerome@free.fr <abel.jerome@free.fr><br>
<b>Sent:</b> 09 April 2018 13:02<br>
<b>To:</b> pd-list@lists.iem.at<br>
<b>Subject:</b> [PD] Test if an argument is void</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi all,<br>
<br>
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.<br>
<br>
Thanks.<br>
<br>
---<br>
Jérôme<br>
<a href="http://jeromeabel.net">http://jeromeabel.net</a><br>
<br>
_______________________________________________<br>
Pd-list@lists.iem.at mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">
https://lists.puredata.info/listinfo/pd-list</a><br>
</div>
</span></font></div>
</body>
</html>