Bug: ~ does not display

Non-platform specific questions.

Bug: ~ does not display

Postby Fuzzy » Thu Dec 06, 2007 10:03 pm

~ does not display in the script editor, although it functions correctly.

I also vote for this as the most obscure and least obtrusive bug ever.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: Bug: ~ does not display

Postby summer_goth » Fri Dec 07, 2007 8:18 am

:D

It's impressive that you picked it up.
User avatar
summer_goth
 
Posts: 153
Joined: Fri Jun 22, 2007 8:07 am
Location: South Africa
Score: 5 Give a positive score

Re: Bug: ~ does not display

Postby Kalladdolf » Fri Dec 07, 2007 8:34 am

wow, i would've never realized that!!!

what does it actually do?
~
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Bug: ~ does not display

Postby Fuzzy » Fri Dec 07, 2007 9:51 am

I like to explore the deep dark corners of GE.

~ is 'ones compliment'. if you wish to see what it does, make a text actor and in script put this:

Code: Select all
textNumber = ~63;


Of course, try some other numbers too. and try:

Code: Select all
textNumber = ~~63;


As for what its good for... well, you'll have to figure that out yourself. But its a lot faster than multiplying.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: Bug: ~ does not display

Postby Spidy » Fri Dec 07, 2007 11:05 am

hmm..ok ill try it!
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron