From:
                                                             3/4/97 12:00 AM
Subject: MAX Digest - 2 Mar 1997 to 3 Mar
1997To: Recipients of MAX digests 

There are 10 messages totalling 230 lines in this issue.

Topics of the day:

  1. unlimited CAPTURE
  2. MAX Digest - 28 Feb 1997 to 2 Mar 1997
  3. Embarassing text-related question (2)
  4. Max User Group
  5. multi segmented object (2)
  6. stack overflows
  7. Max Development Question (2)

----------------------------------------------------------------------

Date:    Mon, 3 Mar 1997 11:04:30 +0000
From:    "Gregg Wagstaff, University of Dundee,
         Scotland." 
Subject: unlimited CAPTURE

Can anyone point me in the direction of an object which will perform like
'CAPTURE' without the restriction of 512 ints. preferably unlimited
until'Bang' to ouput list. [Max v. 2.5.2 - waiting for UK 3.5 !]
Thanks in advance.

Gregg Wagstaff.

------------------------------

Date:    Mon, 3 Mar 1997 17:20:50 +0100
From:    Georg Hajdu 
Subject: Re: MAX Digest - 28 Feb 1997 to 2 Mar 1997

Hi Tod,

>I can't figure out a way to create a message out of the list of
>characters without getting spaces between each character.  I feel like a
>complete idiot!  How hard can this be?

Use "atoi." It's an unsupported object that does exactly what you want.

Georg Hajdu

***********************************************
*                Georg Hajdu                  *
*                                             *
* Hochschule fuer Musik Detmold,              *
* Abteilung Muenster                          *
* Ludgeriplatz 1                              *
* D-48151 Muenster                            *
*                                             *
* e-mail: hajdu@uni-muenster.de               *
* http://www.uni-muenster.de/Musikhochschule/ *
* Dozenten/Hajdu/home.html                    *
***********************************************

------------------------------

Date:    Mon, 3 Mar 1997 08:37:30 -0800
From:    Steve Ellison 
Subject: Re: Embarassing text-related question

>I have text that is in ASCII format in a coll object that I need to
>convert to a message (NOT a list) for use as a menu item.  example:
>
>84 101 115 116 32 49
>
>Which should translate to "Test 1"
>
>I can't figure out how to do the translation.  The best I've been able
>to do, using objects like append, prepend, text, etc. is something like
>this:
>
>T e s t  1
>
Feed the list into "itoa" and itoa will spit out a symbol "Test 1".

_____________________________________________________
Steve Ellison                ellison@LCSaudio.com
Level Control Systems        http://www.LCSaudio.com

------------------------------

Date:    Mon, 3 Mar 1997 18:12:06 +0100
From:    Tom Mays 
Subject: Re: Embarassing text-related question

>>Feed the list into "itoa" and itoa will spit out a symbol "Test 1".

>>Use "atoi." It's an unsupported object that does exactly what you want.

Ok, but let's not forget that there's an "official" object that would
work in this case as well (notice "in this case")

try sprintf with arguments %c%c%c%c%c%c
passing the list of ascii ints into the left inlet.

tm

------------------------------

Date:    Mon, 3 Mar 1997 11:48:00 PST
From:    "Valentine, Bob" 
Subject: Max User Group

I am trying to start a Opcode user group in Naperville, Illinois which is
about 40 miles west of Chicago.  I would like to see if there is enough
interest to start a Vision group and maybe even a Max group.  The meetings
would be at Brookdale Music in Naperville, times and dates are open to
discussion.

Bob V.

------------------------------

Date:    Tue, 4 Mar 1997 03:59:00 +0900
From:    =?ISO-2022-JP?B?GyRCQGlMbiEhPSgwbBsoQg==?=

Subject: multi segmented object

could anybody tell me how to write multi segmented objects with CW?
is it same as we did with Think C? (like calling RememberA0() each file
top?)

thanks.
ichi

------------------------------

Date:    Mon, 3 Mar 1997 19:20:31 +0000
From:    Nick Rothwell 
Subject: Re: stack overflows

>The solution to this kind of problem is the defer object. Defer is
>undocumented in older versions of Max (not even a help file). All defer
>does is hold on to its input until all activity ceases, then sends the data
>along.

Are you sure this is exactly what it does?

I thought it deferred activity out of interrupt and into the Toolbox event
loop, so with a menu held down that could be a long time. Or are deferred
events just entered after any interrupt event? (Overdrive assumed in this
questions.)

         Nick Rothwell, CASSIEL        contemporary dance projects
         http://www.cassiel.com        music synthesis and control

             years, passing by, VCO, VCF, and again, and again

------------------------------

Date:    Mon, 3 Mar 1997 16:57:38 -0800
From:    Fred Malouf 
Subject: Max Development Question

Opcode support couldn't help me with this.

I just got Max 3.5.

I am using the Mac Devleopers Kit to upgrade a patch I wrote
about three years ago.  I am using CodeWarrior 8.  The 68K
version compiled just fine. The PPC compiler kept complaining
about the second argument in my call to preset_store.  The second
argument is the object that gets passed in.  It was trying to
cast it to a struct 'b100' which is how it's defined in
ext_proto.h.  What is this struct?  Why does it compile for the
68K and not the PPC?

-Fred

--
Fred Malouf                     mailto:fredm@netsourcecom.com
NetSource Communications, Inc.  http://www.netsourcecom.com

------------------------------

Date:    Mon, 3 Mar 1997 23:03:18 -0500
From:    Stephen Kay 
Subject: Max Development Question

>I am using the Mac Devleopers Kit to upgrade a patch I wrote
>about three years ago.  I am using CodeWarrior 8.  The 68K
>version compiled just fine. The PPC compiler kept complaining
>about the second argument in my call to preset_store.  The second
>argument is the object that gets passed in.  It was trying to
>cast it to a struct 'b100' which is how it's defined in
>ext_proto.h.  What is this struct?  Why does it compile for the
>68K and not the PPC?

>-Fred Malouf

In CodeWarrior and for the ppc version, you have to do a lot of typecasting
that didn't used to be necessary.  I'm not sure this is your problem, but
you could try typecasting it to your Object i.e.

preset_store("ossl", (MyObject *) x, ob_sym(x), gensym("set"),
x->my_value);

or, perhaps, you could just try casting it to what it wants i.e.

preset_store("ossl", (b100 *) x, ob_sym(x), gensym("set"), x->my_value);

(Maybe b100 is a binbuf or something).

If you get past this one, you may get more.  Atoms often need to be
typecast to (Atom *), all the UI stuff that uses boxes need to have your
object typecast to (Box *) i.e. box_redraw((Box *) x), etc.

Stephen Kay

------The MegaMAX Application Developer's Collection-------
Full color 3D UI Objects, Mac System interface objects,
and other Max helpers designed to create more professional
looking applications.  Check out the demo on the MAX 3.5 CD
-----------------------------------------------------------

------------------------------

Date:    Mon, 3 Mar 1997 23:03:22 -0500
From:    Stephen Kay 
Subject: multi segmented object

>could anybody tell me how to write multi segmented objects with CW?
>is it same as we did with Think C? (like calling RememberA0() each file
top?)

>thanks.
>ichi

Yes, basically the same, except you use the EnterCallback() and
ExitCallback() routines.  There are some things you must set up in your
project preferences. See the new 3.5 Developer's Guide for a detailed
description.

Stephen Kay

------The MegaMAX Application Developer's Collection-------
Full color 3D UI Objects, Mac System interface objects,
and other Max helpers designed to create more professional
looking applications.  Check out the demo on the MAX 3.5 CD
-----------------------------------------------------------

------------------------------

End of MAX Digest - 2 Mar 1997 to 3 Mar 1997
********************************************