Re: Carot doesn't work as an exponent?

From: Date: Mon, 25 Dec 2000 19:56:44 +0000
Subject: Re: Carot doesn't work as an exponent?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31795@lists.php.net to get a copy of this message
If ^ is pow() in BASIC, what is the xor operator? (Retorical question) It must have slipped my mind. When I was 7 years old, BASIC was pretty damn cool on my C64, but since then, it has lost it's luster to me, and I don't ever remember doing any bitwise operations in BASIC (but that doesn't mean that it wasn't possible). I wish I had started learning C then instead of BASIC, but as the saying goes, "If I knew then what I knew now" seems to apply here too. Cheers. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "<body>" -- Quoted from Yahoo! homepage, http://www.yahoo.com On Mon, 25 Dec 2000, Noah Spitzer-Williams wrote: > Date: Mon, 25 Dec 2000 12:44:32 -0500 > From: Noah Spitzer-Williams <noahsw@cyberdude.com> > To: php-general@lists.php.net > Subject: Re: [PHP] Carot doesn't work as an exponent? > > hey hey, and how does basic not qualify as a programming language? i know > people who can do everything in visual basic as you can in any other > languages... > > -- > Founder of Survival of the Hottest: > http://www.survivalofthehottest.com > > > "Rasmus Lerdorf" <rasmus@php.net> wrote in message > > news:Pine.LNX.4.30.0012232036440.870-100000@localhost.localdomain... > > Perhaps you could provide us with a list of languages where this is true? > > To me a ^ is an xor operator. And no, BASIC doesn't qualify. > > > > -Rasmus > > > > On Sat, 23 Dec 2000, Noah Spitzer-Williams wrote: > > > > > Hey guys, > > > in jsut about all other languages, 2 ^ 3 equals 8. however, php > seems to > > > not interpret this carot ^ operator, what am i doing wrong here? > > > > > > - Noah > > > > > > -- > > > Founder of Survival of the Hottest: > > > http://www.survivalofthehottest.com > > > > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#31795) next »