Jump to content
Sign in to follow this  
raedor

"@" or "loop"?

Recommended Posts

does anybody know, whether a line like this one:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">@variableneeds as much ressources as this one:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#loop

? variable: goTo "xy"

goTo "loop"

or maybe in which delay an "@" asks after the variable? 0.01 seconds? cos i think that a "@" cant be more than a loop with a short delay. isnt it?

Share this post


Link to post
Share on other sites

Whenever I have used @ pauses...I notice considerable cpu usage compared to a loop with a delay

I see some loops with no delays,this is not recommended

Share this post


Link to post
Share on other sites

This should probably be in mission editing. But anyway:

Suma once commented on this and IIRC he said that a loop with a very short pause was preferable to the @ operator.

Share this post


Link to post
Share on other sites

moving to mission editting.

AFAIK, SUMA answered this question some months ago. '@' uses more resources since it is checked every 0.00001 second or so.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×