Hi Alex,
> switch (foo)
> {
> case 0: prefix="hi";
> if (0) { case 1: prefix="bye"; }
> if (0) { case 2: prefix="ciao"; }
> strcpy (buffer, "%s Nick", prefix);
> break;
> }
Oh that is just wonderful!
Thanks Alex - you have restored my faith in C as the language that can
do anything.
Cheers
Nick