> disp_digits="0123";
IIRC, this works if disp_digits is a pointer to char. And "0123" as an
expression is a pointer to five chars.

You could only use it with an initialized array as such:

char disp_digits[] = "0123";

Cheers, Bodo



------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to