AT>int main (void)
AT>{
AT>char *x;
AT> printf ("Free mem=%ld\n", coreleft();
GW> You need to cast the return from coreleft to unsigned long, as in
GW> small model coreleft() returns an unsigned int, and also change the
GW> print format specifier to match. So you need:
Already tried..
GW> I found xxxx:0004 everytime in large model, with xxxx the same for
Ah, but the xxxx is >ALWAYS< 0000
GW> every run under the same conditions but varied between IDE and
GW> standalone.
It was always the same, regardless of the IDE/etc.
Take care,
Anthony Tibbs
... All I need is a Wave and a board to surf it on.
--- Blue Wave/DOS v2.30 [NR]
---------------
* Origin: The Tibbs' Point - Ottawa, ON, Canada - Pvt (1:163/215.38)
|