Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: converting <> to !=

From: tim-johnsons::web::com at: 24-Aug-2006 11:45

* Anton Rolls <anton-wilddsl.net.au> [060824 08:21]:
> There is a Rebol3 blog article with interesting comments: > http://www.rebol.net/cgi-bin/r3blog.r?view=0017
Personal, I prefer '<>, and on my emacs it is simply a matter of typing Control-o h, but it is nice to have the option. At one time, when I was programming in C and have problems with my eyes, I wrote a C preprocessor macro to present != as NE. The cool thing about rebol is that ops are customizable, whereas in other languages, ops are immutable syntax. tj
> Anton. > > > -----Original Message----- > > From: rebol-bounce-rebol.com [mailto:rebol-bounce-rebol.com]On Behalf Of > > Maxim Olivier-Adlhoch > > Sent: Thursday, 24 August 2006 6:00 pm > > To: rebolist-rebol.com > > Subject: [REBOL] converting <> to ! > > > > > > > > hi list, > > > > its been a while since I've posted anything of worth, but I just > > stumbled across this and I think some of you will appreciate it: > > > > set '!= get in system/words first [<>] > > > > this allows you to use != instead of <> in your arithmetic. > > > > ex: > > > > 1 != 3 > > ==True > > > > or > > > > val: 34 > > either val != 20 [print "not 20"] [print "is 20"] > > > > == not 20 > > > > > > ciao! > > > > -MAx > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com