> From: Paul Nevai [mailto:[EMAIL PROTECTED]]
> I have a well working multi segment project in CW 6
> consisting of 3 segments and I use the smart code model.
You may find the Small code model makes your program smaller.
> So far I never made functions calls from
> segment 1 to segment 3. I wonder if it would be OK to to
> this? Is it as safe as calls to adjacent segments?
Yes, as long as you are in one of those launch codes that has global
variables, then inter-segment calls will work fine between any two segments.
Don't think of segments being "adjacent" to each other just because of the
way they are numbered. What's important is that there is always one "first"
or "startup" segment which has the special property that code in it can be
used in all launch codes; then any number of "other" segments that can be
used in the limited set of launch codes that support globals.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/