Why can I not do this switch?
#3

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
When trying to detect failed switch case statements,we use 'default'.
pawn Код:
case 0: file2 = fopen("CRP_Scriptfiles/Businesses/businesses.cfg", io_write);
default: fopen("CRP_Scriptfiles/Businesses/businesses.cfg", io_append);
Perfect, thank-you.

Im so used to using ifs and else, but now im going to transfer everything to switches, a lot easier
Reply


Messages In This Thread
Why can I not do this switch? - by Memoryz - 13.09.2010, 20:13
Re: Why can I not do this switch? - by [XST]O_x - 13.09.2010, 20:15
Re: Why can I not do this switch? - by Memoryz - 13.09.2010, 20:17

Forum Jump:


Users browsing this thread: 1 Guest(s)