Raised This Month: $ Target: $400
 0% 

how to scripting goto and labels?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 03-24-2011 , 10:48   Re: how to scripting goto and labels?
Reply With Quote #8

I can't think of any good reason to use goto. As mentioned, it's always possible with other methods. Also, goto makes it difficult to read program flow.

Maybe the compiler should mark goto as deprecated to force people to avoid (at least one) bad programming habit.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode