27 Jun
2002
27 Jun
'02
6:05 p.m.
Hi Dimitar, you should use macros here: header: void moveto(int x, int y); #define moveto(x,y) do { __gr_X = (x); __gr_Y = (y); } while (0) source: void (moveto)(int x, int y) { moveto(x,y); } It's simple, clear (hmm...) and portable Hartmut