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

[REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...)

From: joel:neely:fedex at: 20-Feb-2002 5:59

Hi, Charles, Charles wrote:
> I do not believe I've come across these three in my (highly > limited) studies. Is there a decent reference to them in > "REBOL For Dummies" >
RfD and RtOG both describe /Core 2.3, and at least two of these were added later.
> , or one of the online guides? (Preferrably a non-PDF guide.) >
Whether for good or ill, often HELP and SOURCE are the most up-to-date information. The 2.5 release notes (HTML) at http://www.rebol.com/docs/core25.html mention CONTEXT in section 11 and HAS in section 13. I don't recall at the moment when DOES was added. However... "Use the SOURCE, Luke!" ;-) Try copying the following into your interpreter window: help context source context help does source does help has source has Too much thinking in c? ;-) -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e ":" "." "#" "@"] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} print head reverse despam "moc:xedef#yleen:leoj" ;