<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">oops, meant to send this to the list,
      sorry Jonathan.<br>
      <br>
      <br>
      On 4/14/14, 1:11 PM, Phil Stone wrote:<br>
    </div>
    <blockquote cite="mid:534C40F3.5020704@ucdavis.edu" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">You have a point, if you are init'ing
        to zero; otherwise, it's easy to see that a Number2 box is
        init'd when you open the patch, because it has a non-zero value
        in it.<br>
        <br>
        But yeah, it's a little kludgey (especially the "init"/"no init"
        button: is it status, or what *will* happen when you press it --
        hint, it's the latter, like most buttons). I wouldn't recommend
        it for use with all those Pd nuclear weapon-control patches that
        are out there.<br>
        <br>
        <br>
        Phil<br>
        <br>
        <br>
        On 4/14/14, 12:56 PM, Jonathan Wilkes wrote:<br>
      </div>
      <blockquote cite="mid:534C3D5C.6010909@yahoo.com" type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <div class="moz-cite-prefix">On 04/14/2014 02:03 PM, Phil Stone
          wrote:<br>
        </div>
        <blockquote cite="mid:534C230C.1040509@ucdavis.edu" type="cite">
          <div class="moz-cite-prefix">Or use the "Number2" number box,
            and set its "init" attribute in properties. It will then
            init itself with the last value that was in the box at the
            time the parent patch was saved.<br>
          </div>
        </blockquote>
        <br>
        I try to avoid the iemgui "init" method because it isn't
        represented in the Pd diagram.<br>
        <br>
        I'd rather do this:<br>
        <br>
        [loadbang]<br>
        <br>
        [42(<br>
        |<br>
        [numbox]<br>
        <br>
        Then you can see if you made a mistake.&nbsp; For example, I forgot
        to connect [loadbang] to [42(.&nbsp; I can quickly scan all other
        places where I use [loadbang] to see if I made a similar error.<br>
        <br>
        But if you use the "init" method, you must right-click and
        choose "Properties" on every single numbox to do error
        checking.&nbsp; The time wasted isn't worth whatever it is you think
        you save by using "init".<br>
        <br>
        Digression-- consider a Properties dialog with the following
        button:<br>
        [don't fire nukes]<br>
        <br>
        Do you press it or not?<br>
        <br>
        -Jonathan<br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>