Frank Leahy <[EMAIL PROTECTED]> wrote:

> Not supporting these standard statements make the language look a bit
> "beginner-ish".

You are right. "talk" statements are way too childish!
Speak of real programer language, not a quiche-eater one! 
(here, in fact, it is a bottle-eater one ;-)))

Below is an example of what to do to make Transcript a real language:

====

#define MAXBEER (99)

void chug(int beers);

main()
{
register beers;

for(beers = MAXBEER; beers; chug(beers--))
  puts("");

puts("\nTime to buy more beer!\n");

exit(0);
}

void chug(register beers)
{
char howmany[8], *s;

s = beers != 1 ? "s" : "";
printf("%d bottle%s of beer on the wall,\n", beers, s);
printf("%d bottle%s of beeeeer . . . ,\n", beers, s);
printf("Take one down, pass it around,\n");

if(--beers) sprintf(howmany, "%d", beers); else strcpy(howmany, "No
more");
s = beers != 1 ? "s" : "";
printf("%s bottle%s of beer on the wall.\n", howmany, s);
} 

====

PS: everybody should understand that i am kidding ;-))
Pliiiiz don't touch transcript's syntax!!!

-- 
Vous parlez français ? faites un tour sur le groupe francophone !
[EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to