Received: with ECARTIS (v1.0.0; list lojban-beginners); Tue, 01 Sep 2009 17:02:23 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from ) id 1MidIr-0003wb-JX for lojban-beginners-real@lojban.org; Tue, 01 Sep 2009 17:02:22 -0700 Received: from imr-da05.mx.aol.com ([205.188.105.147]) by chain.digitalkingdom.org with esmtp (Exim 4.69) (envelope-from ) id 1MidIk-0003tm-LF for lojban-beginners@lojban.org; Tue, 01 Sep 2009 17:02:21 -0700 Received: from imo-ma01.mx.aol.com (imo-ma01.mx.aol.com [64.12.78.136]) by imr-da05.mx.aol.com (8.14.1/8.14.1) with ESMTP id n82025O2029505 for ; Tue, 1 Sep 2009 20:02:05 -0400 Received: from MorphemeAddict@wmconnect.com by imo-ma01.mx.aol.com (mail_out_v42.5.) id d.bfc.60984b81 (29678) for ; Tue, 1 Sep 2009 20:02:01 -0400 (EDT) From: MorphemeAddict@wmconnect.com Message-ID: Date: Tue, 1 Sep 2009 20:02:01 EDT Subject: [lojban-beginners] "<>" Re: Re: klingon swears To: lojban-beginners@lojban.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_bfc.60984b81.37cf0ff9_boundary" X-Spam-Flag:NO X-AOL-SENDER: MorphemeAddict@wmconnect.com X-archive-position: 2163 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: MorphemeAddict@wmconnect.com Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners Content-Length: 2360 --part1_bfc.60984b81.37cf0ff9_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In a message dated 9/1/2009 19:58:08 Eastern Daylight Time, vonunov@gmail.com writes: > The only diamond operator (<>) that I know of is in Perl, and there it is > > used to indicate that the value it represents will be provided by the user > > from STDIN. Example: > > my $foo = <>; > print <>; > > When the script runs, user must type something which will be assigned to > $foo and printed. > > != is simply "not equals" operator, acting like the slashed equals you > often see in written maths, and I imagine this is what Michael meant. > > -- > I see. Before Perl, the "diamond" operator ("<>") was used in languages like Basic to mean "is not equal to". It's still used that way in MS Excel and Open Office Calc filters. So it really is the same thing as Perl "!=". The Perl usage of "<>" is the 'non-standard' one. stevo --part1_bfc.60984b81.37cf0ff9_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable In a messag= e dated 9/1/2009 19:58:08 Eastern Daylight Time, vonunov@gmail.com writes:


The only diamond operat= or (<>) that I know of is in Perl, and there it is  
used to indicate that the value it represents will be provided by the= user  
from STDIN. Example:

my $foo =3D <>;
print <>;

When the script runs, user must type something which will be assigned= to  
$foo and printed.

!=3D is simply "not equals" operator, acting like the slashed equals= you  
often see in written maths, and I imagine this is what Michael meant.

--=20
Jack Aviado


I see.  Before Perl, the "diamond" operator ("<>") was used= in languages like Basic to mean "is not equal to".  It's still used= that way in MS Excel and Open Office Calc filters.
So it really is the same thing as Perl "!=3D".  The Perl usage of= "<>" is the 'non-standard' one.

stevo
--part1_bfc.60984b81.37cf0ff9_boundary--