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

[REBOL] use strict Re:(2)

From: rebol:techscribe at: 15-Sep-2000 11:48

Hi Ryan, at this time my favorite REBOL editor is REM by Cal Dixon. It's fast and comforatble, and it includes the ability to execute some REBOL code, including a script you are currently editing, without leaving the editor. My favorite refinement is /string, which enables you to open the editor on a string from the REBOL console, and returns the edited string. I.e. you can do something like
>> string: edit read http://www.rebol.com/index.html
to retrieve REBOL's webpage, edit it, and continue to manipulate the edited string by referring to is as the word string (in this example) from within the REBOL console. Other refinements enable you to open a file, or to open the edito on an existing REBOL function. The /resume refinement enables you to return to whatever you last edited. Note that REM does not support line-wrapping. Other REBOL editors are available such as reditor.r (which should be able to find in REBOL Tech's code archive, and REBCODE, which was written by Volker. I haven't tested any of these editors with the current experimental releases, so I don't know if any of the editors need to be or have been updated. At 10:19 AM 9/15/00 -0700, you wrote:
>Alternatively it could be implemented in a script checker, cleaner, fixer, or >editor too. BTW, anybody have a editor made in rebol? I need one for my
rebol
>disk. > >--Ryan > >[princepawn--MailAndNews--com] wrote: > >> I posted much earlier that I would like to see use/strict, which would not >> allow >> the definition of any words that are not pre-declared. >> >> Of course then rebol would need scoping syntax for binding words out of the >> context >> >> terrence-brannon: [[princepawn--yahoo--com] perl-refugee myth-gamer] >> free-email: http://www.MailAndNews.com >> free-usenet: http://www.mailAndNews.com >> ; all the above is real REBOL code, believe it or not. > >-- > > Ryan Cole > Programmer Analyst > www.iesco-dms.com > 707-468-5400 > >The problem of language here are really serious. >We wish to speak in some way about the structure >of the atoms . . . But we cannot speak about atoms >in ordinary language. -W. Heisenberg >
;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com