default in script editor

Posted:
Mon Jan 14, 2008 8:12 pm
by DarkParadox
i figured out that if you type default it turns blue like int,
what the heck does it do?
Re: default in script editor

Posted:
Mon Jan 14, 2008 8:32 pm
by makslane
The word 'default' is a reserved word in the C language used in the switch statement:
More info:
http://cermics.enpc.fr/~ts/C/SYNTAX/switch.html