I solved the problem I had storing the creation arguemet in an object.<br>Then I packed the creation argument with the variable I got from the openpanel and send the list to the message I wanted to fill with the two variables.<br><br>What I noticed was that if I have a float for a creation arguement, I couldn't store it, because I had a [symbol $1] object waiting to store the $1-creation argument and that couldn't be created (it had a dicontinuous sqare).<span style="text-decoration: underline;"></span><font face="Arial" size="3"><span style="text-decoration: underline;"></span></font><br><br>Is there a way to know the type of the creation argument so that you can call an abstraction with any type of arguement you want, or is it a good tactic to put a [float $1] and a [symbol $1] waiting to store the argument so that you don't care if one of these fail to be created?<br><br>Regards, <br><br>Tasos<br><br><b><i>Frank Barknecht &lt;fbar@footils.org&gt;</i></b>
 έγραψε:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hallo,<br>Tas Pas hat gesagt: // Tas Pas wrote:<br><br>&gt; I have a [soundfiler] object which needs two arguements:<br>&gt; the sample name and the array to load the sample to.<br><br>Ah, I had overlooked your attachements. There you test a lot of<br>different things, which is a very good thing to do. To help you<br>understand what's going on a bit: <br><br>If you have an abstraction, in your case "vars2.pd" and if you use<br>this as [vars2 one], then every occurence of $1 at the start of a word<br>inside every *object box* of vars2.pd will be replaced by "one", the<br>first argument.  So for example an object [table $1] will create a<br>table called "one".  In fact you can see the [table $1] as if you<br>would have written [table one] in this case. An object [$1] will make<br>Pd try to create an object called [one] which probably will be an<br>unknown
 object and generate an error.<br><br>It is important to note, that only real *objects* are handled like<br>this: the things you create with Put-&gt;Object, which I like to write as<br>[object] in square brackets.<br><br>Occurences of $1 in *messages* like [a message with $1( are *not*<br>replaced with the creation argument "one"! This is very important.<br><br>Dollars in message boxes are only replaced by something else, if this<br>message box receives a message. How to replace the dollar-variable<br>depends on the *incoming message* not on the abstraction's creation<br>arguments. Sending a message "123" to the message from above will<br>always make it send along "a message with 123", regardless of what<br>else is going on in your patch.<br><br>Ciao<br>-- <br> Frank Barknecht                 _ ______footils.org_ __goto10.org__<br><br>_______________________________________________<br>PD-list@iem.at mailing list<br>UNSUBSCRIBE and account-management -&gt;
 http://lists.puredata.info/listinfo/pd-list<br></blockquote><br><p>&#32;
                <hr size=1><font size=-1 face=Arial> 
Χρησιμοποιείτε Yahoo!<br> 
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br> 
<a href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a> </font>