Hello
> i want to make a multi-segment app out of my
> single-segmented.
> My question:
> What functions to put in which segements?
> (ok PilotMain and handles of all types in segment-1)
> and the others ... no matter or sort them by some
> criteria.
You need put PilotMain funtion in segment only
>Is the multisegmentation only a "technical" thing or
> does it have any
>consequences while running my app. Where are
> functions put that
>have no destination-section (given in source)
One segment can have 64k of code
One segment can have 32k of Data only
> Do global variables works as well (my app has many
> of them :)
If you declare a variable in segmetn-1 as Int16 a;
if you want to usein segment-2, You need to declase
this variable in segment-2 with extern keyword. But no
initalization is reqired in other segments
Ok
Raj
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/