Trying to be better scripter.
#9

Quote:
Originally Posted by RSX
Посмотреть сообщение
To quate : WTF. Really? Read some topics, i even wrote how & is used with keys.. and what it does... and it was recently.

I can teach some usages of them whenever i have time, PM me, for example, i'm totaly sure that binary shift << is tons of times faster than float multiplication (* in pawno) num<<1 =num*2; num<<2 =num*4 num>>1=num/2 num>>2=num/4; (Rounds down always, as actually just loses the byte);
I'm not stupid, and maybe I haven't seen those topics.

It's funny how people criticize other people if they don't know it, or don't know it correctly.

Also, pointing out to what ****** said, * is not a float multiplication, but a normal multiplication, that you can do with many values.

Thanks for the examples though, I do see what you mean.

Edit:
@ ******, I am a little confused on 'sleep'.
From the .pdf :
sleep expression
Abort the program, but leave it in a re-startable state. The expression
is optional. If included, the sleep instruction returns the
expression value (plus the expression tag) to the host application.
The significance and purpose of exit codes/tags is implementation
defined; typically, an application uses the sleep instruction to allow
for light-weight multi-tasking of several concurrent pawn programs,
or to implement “latent” functions.
Reply


Messages In This Thread
Trying to be better scripter. - by GaGlets(R) - 04.09.2010, 22:33
Re: Trying to be better scripter. - by woot - 04.09.2010, 22:39
Re: Trying to be better scripter. - by Thebest96 - 04.09.2010, 23:34
Re: Trying to be better scripter. - by LarzI - 04.09.2010, 23:39
Re: Trying to be better scripter. - by Toni - 05.09.2010, 00:16
Re: Trying to be better scripter. - by GaGlets(R) - 05.09.2010, 01:26
Re: Trying to be better scripter. - by Toni - 05.09.2010, 01:28
Re: Trying to be better scripter. - by RSX - 05.09.2010, 11:34
Re: Trying to be better scripter. - by Toni - 05.09.2010, 15:24
Re: Trying to be better scripter. - by Nero_3D - 05.09.2010, 17:57

Forum Jump:


Users browsing this thread: 2 Guest(s)