[REBOL] Rebol/View/Pro and CGI
I have a very simple rebol cgi script #!/usr/local/rebol/rebol --cgi REBOL[ ] print ["Content-type: text/html" newline] prin "Hello the time now is " print now print "" print mold system/options/cgi print "" which works as expected!! If I then change the shebang line to point to my licensed version of Rebol/Veiw/Pro 1.1.0.4.2 (Running on Redhat Linux 2.2.14-6 #!/usr/local/view/rebol --cgi I get the following output to my browser ** Near: size: size-text self all [ para para/origin size: size + para/origin para/margin size: size + para/margin ] [H[J Any help with the above would be _MUCH_ appreciated Cheers colinb -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: window resize and window scroll
Hi Joel > > There's still an intermittent problem on my box here (P200 running > RedHat 7.1); the window flickers to white while dragging to resize. > Sometimes it stays completely white after the mouse is released; > sometimes it is only partly repainted. Perhaps a timing problem > with the last internal redraw event??? Curious. On Win98, there is no flicker but when the box is being enlarged, the newly created area remains with a white background until the mouse is released. The original smaller rebolor background remains the same during enlargement. I don't know if there is a way of modifying this behavior. -Larry -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: html to text and parsing 2 strings
On Tue, 8 May 2001 14:23:38 +1000 "Brett Handley" <[EMAIL PROTECTED]> wrote: > parse/all read http://www.rebol.com [ > thru "" copy text to > (print text) > ] You don't require the quotes around tags as Rebol recognises them. parse read http://www.rebol.com [ thru copy text to ( print text ) ] -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: html to text and parsing 2 strings
Here's a starting point from the script library Cheers, Allen K REBOL [ Title: "Web HTML Tag Extractor" File: %websplit.r Date: 20-May-1999 Purpose: "Separate the HTML tags from the body text of a document." Category: [web net text 3] ] tags: make block! 100 text: make string! 8000 html-code: [ copy tag ["<" thru ">"] (append tags tag) | copy txt to "<" (append text txt) ] page: read http://www.rebol.com parse page [to "<" some html-code] foreach tag tags [print tag] print text - Original Message - From: "Ian Monroe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 1:22 PM Subject: [REBOL] html to text and parsing 2 strings > There are lots of text to html tools but what about the other way > around? I'm still quite a beginner, but I was thinking how to do it and it > involved parsing out two things, so that it could get rid of both the > > and the <. How would I do that? > > Thanks, > Ian > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: html to text and parsing 2 strings
Hi Ian, There are different ways to go about attacking the problem. Depends what your aim is. Here is one idea - does not use the parse function though. foreach element load/markup http://www.rebol.com [ if string? element [print element] ] If you are after specific part of a web page you can use the parse function. parse/all read http://www.rebol.com [ thru "" copy text to (print text) ] If you are planning on a general tool then you have more complexity to deal with. A web page is a structured document - cells are part of tables for example. But when you have just read the web page into a string that structure does not exist - the page is just a sequence of characters/values. So to do a truly general tool is difficult because you end up having to program something that understands the structure of web pages. Adding to this not all web pages follow the rules... Brett. - Original Message - From: "Ian Monroe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 1:22 PM Subject: [REBOL] html to text and parsing 2 strings > There are lots of text to html tools but what about the other way > around? I'm still quite a beginner, but I was thinking how to do it and it > involved parsing out two things, so that it could get rid of both the > > and the <. How would I do that? > > Thanks, > Ian > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: window resize and window scroll
Hi, Larry (and Sterling)... Larry Palmiter wrote: > > Nice example, but a couple of small probs. The button colors don't change > and the button is half off window after resize (maybe what was intended?). > > Here's a quick mod which changes button color and keeps the button at the > bottom right corner. > Change the middle line in the RESIZE case to the following line > > b1/offset: (main-lay/size - (b1/size)) / 2 > and the button stays centered. There's still an intermittent problem on my box here (P200 running RedHat 7.1); the window flickers to white while dragging to resize. Sometimes it stays completely white after the mouse is released; sometimes it is only partly repainted. Perhaps a timing problem with the last internal redraw event??? -jn- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] html to text and parsing 2 strings
There are lots of text to html tools but what about the other way around? I'm still quite a beginner, but I was thinking how to do it and it involved parsing out two things, so that it could get rid of both the > and the <. How would I do that? Thanks, Ian -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
Funny you should mention it. The syntax file dated from sometime in '99, obviously a bit behind the times. I submitted an updated wordfile.txt yesterday containing all the datatype!, action!, native! and function! words from View/Pro. He should be updating the word file on the site soon, but if anyone else uses UltraEdit and wants it I be happy to e-mail it to them. If I missed anything, please let me know. And Michael, please go ahead and send me your uedit32.ini. - Tim - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 9:22 AM Subject: [REBOL] Re: simple editor for rebol > > TIA, > > You might want to double-check how current the posted syntax highlighting > file is. When I got mine (several months ago) it needed updating. A word of > warning: for some reason, UltraEdit requires a blank character at the end > of each line in the wordfiles.txt file (the file which defines the syntax > highlighting), otherwise the last word on the line will not be highlighted. > > I've spent quite abit of time with my color scheme - more than most would, > I'd imagine. The default colors for UEdit are pretty ugly IMO. If you'd > like I could send you my file that defines the colors (UEdit32.ini). > > - Michael Jelinek > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: window resize and window scroll
Hi Sterling Nice example, but a couple of small probs. The button colors don't change and the button is half off window after resize (maybe what was intended?). Here's a quick mod which changes button color and keeps the button at the bottom right corner. -Larry modified script- A quick resize example... REBOL [] main-lay: layout [ b1: button red "Quit" [quit] ] view/new/options main-lay [resize] main-lay/feel: make main-lay/feel [ detect: func [face event] [ switch event/type [ resize [ b1/color: random 255.255.255 b1/offset: main-lay/size - (b1/size) show b1 ] ] event ] ] wait none -end mod - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 4:24 PM Subject: [REBOL] Re: window resize and window scroll > > A quick resize example... > > REBOL [] > > main-lay: layout [ > b1: button "Quit" [quit] > ] > > view/new/options main-lay [resize] > > main-lay/feel: make main-lay/feel [ > detect: func [face event] [ > switch event/type [ > resize [ > b1/color: random 255.255.255 > b1/offset: main-lay/size - (b1/size / 2) > show b1 > ] > ] > event > ] > ] > > wait none > > Sterling > > > On Mon, 07 May 2001 23:41:57 +0200 (CEST) > > [EMAIL PROTECTED] wrote: > > > > > i want to have the ability to resize the window, which > > > will opened with view > > > and i want to use scroll bars too. > > > Can anybody help me? > > > > For the latter check out the vid faq using vidwikibeta > > at http://www.compkarori.co.nz/index.r :-) > > > > -- > > Graham Chiu > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: web calendaring
On Sun, 6 May 2001 10:04:57 -0700 "Carl Sassenrath" <[EMAIL PROTECTED]> wrote: > Would be nice. Sterling started working on one a few > months > ago but got too busy to complete it. It's resizeable, > etc. > I'll post it to the Reb as open source, with the Is it going up soon? -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: window resize and window scroll
A quick resize example... REBOL [] main-lay: layout [ b1: button "Quit" [quit] ] view/new/options main-lay [resize] main-lay/feel: make main-lay/feel [ detect: func [face event] [ switch event/type [ resize [ b1/color: random 255.255.255 b1/offset: main-lay/size - (b1/size / 2) show b1 ] ] event ] ] wait none Sterling > On Mon, 07 May 2001 23:41:57 +0200 (CEST) > [EMAIL PROTECTED] wrote: > > > i want to have the ability to resize the window, which > > will opened with view > > and i want to use scroll bars too. > > Can anybody help me? > > For the latter check out the vid faq using vidwikibeta > at http://www.compkarori.co.nz/index.r :-) > > -- > Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: forecast
yes it is still an integer, but the first zero gets dropped. HTH Ammon - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 2:34 PM Subject: [REBOL] Re: forecast > An interger that begins with a zero is still an integer ? > > > integer? 12345 > == true > >> integer? 01234 > == true > >> > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: code sharing (was Re: Re: web calendaring)
> > Here is what I would find useful in a code sharing > area... > > 1. Script library, including... > A. Header information required for all scripts. > B. All script functions must have usage and variable > explanations. > C. All scripts are displayed in the library with > explanations, > including... > I. high-level usage > II. code > III. list of objects and functions used and usage > explanations for > all > D. For /View scripts, include screen shots. > E. Web- and Reb-based interface which allows > developers to create an > account and post their own scripts. > > 2. Function library of stand-alone functions with usage > explanations. Click > on a check box next to the functions you like, click on a > submit button and > REBOL will create a custom user.r script for you on the > fly. > Hi Ryan, Nice wish list. Trouble is, that if too much is asked of RT, the less likely it will happen. One notes that the script library maintained by RT hasn't been updated for ages now. Much more effective would be a community effort where people just post their scripts and follow non-obligatory guidelines regarding usage etc. -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: How do I get rid of the "connecting to: "
Set: system/options/quiet: true Sterling > When I > > page: read http://www.cnn.com > > what is the easiest way to get rid of the > > connecting to: www.cnn.com > > ?? > > > Thanks. > > -- > Dane Carlson > [EMAIL PROTECTED] > http://www.nickelnews.com > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: forecast
Hi, > An interger that begins with a zero is still an integer ? > > integer? 12345 > == true > >> integer? 01234 > == true For the purposes of joining it to a url! or a string! - >> zip: 02155 == 2155 >> type? zip == integer! >> join "My zip is " zip == "My zip is 2155" Isn't quite true. Whereas - >> zip: #02155 == #02155 >> type? zip == issue! >> join "My zip is " zip == "My zip is 02155" Is correct. - Chris -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: window resize and window scroll
On Mon, 07 May 2001 23:41:57 +0200 (CEST) [EMAIL PROTECTED] wrote: > i want to have the ability to resize the window, which > will opened with view > and i want to use scroll bars too. > Can anybody help me? For the latter check out the vid faq using vidwikibeta at http://www.compkarori.co.nz/index.r :-) -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: How do I get rid of the "connecting to: "
Hi Dane You can set system/options/quiet: true before doing your net access. Or if it is a script invoked from the command line, run it with the -q option. -Larry - Original Message - From: "Dane Carlson" <[EMAIL PROTECTED]> To: "rebol-list" <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 2:56 PM Subject: [REBOL] How do I get rid of the "connecting to: " > When I > > page: read http://www.cnn.com > > what is the easiest way to get rid of the > > connecting to: www.cnn.com > > ?? > > > Thanks. > > -- > Dane Carlson > [EMAIL PROTECTED] > http://www.nickelnews.com > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: How do I get rid of the "connecting to: "
It does not do that in View, but you probably have some reason to be using Core. Dane Carlson wrote: > When I > > page: read http://www.cnn.com > > what is the easiest way to get rid of the > > connecting to: www.cnn.com > > ?? > > Thanks. > > -- > Dane Carlson > [EMAIL PROTECTED] > http://www.nickelnews.com > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. -- Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400 "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." -Einstein -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] How do I get rid of the "connecting to: "
When I page: read http://www.cnn.com what is the easiest way to get rid of the connecting to: www.cnn.com ?? Thanks. -- Dane Carlson [EMAIL PROTECTED] http://www.nickelnews.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] window resize and window scroll
Hello all, i want to have the ability to resize the window, which will opened with view and i want to use scroll bars too. Can anybody help me? Thanks in advance! Stefan Kanitz Wiesbaden University of Applied Sciences Germany -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: forecast
An interger that begins with a zero is still an integer ? integer? 12345 == true >> integer? 01234 == true >> -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: forecast
Hi Ed, > You might want to change that integer! argument to a > string! in that function definition, since there are > Zip codes that begin with a zero (like mine): Or an issue! as that is its purpose :o) >> forecast #02155 - Chris -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Handy Loop Timer Script
Hi all, I wrote a loop timer script over the weekend. You can find it on the Ecotope rebsite http://www.nwlink.com/~ecotope1/reb/loop-timer.r For an example, I used the script to examine the speed of simple looping and block access constructs for the kind of tight loops often used in numeric programming, vector-matrix operations, image processing, etc. The script is easily rewritten to create timing tests for your own interests. The example takes about 3 minutes to run at 450MHz, for slower machines you can reduce the ITS variable. My example results for Core and View/Pro (450MHz PII Win98) with some brief comments are given in http://www.nwlink.com/~ecotope1/reb/loop-times.txt One interesting finding was that View is about 3% faster than Core. Some excerpts from the example results are shown below. Enjoy -Larry Loop Timer Test Results View/Pro 1.1.0.3.1 Date: 5-May-2001/21:10:28-7:00 Block size: 1 Loop its: 100 Time Loop Source Code Empty loops 0.11 [loop sz []] 0.11 [repeat j sz []] 0.17 [foreach el x []] 2.21 [j: 1 while [j <= sz] [j: j + 1]] 5.27 [for j 1 sz 1 []] 6.92 [forall x [] x: head x] 7.92 [forskip x 1 [] x: head x] Set and reset current series index 2.42 [loop sz [x: tail x x: head x]] Access all elements of block 0.61 [foreach el x [s: el]] 1.65 [repeat j sz [s: pick x j]] 1.86 [repeat j sz [s: x/:j]] 2.37 [loop sz [s: first x x: next x] x: head x] 2.80 [j: 1 loop sz [s: pick x j j: j + 1]] 4.23 [while [not tail? x] [s: first x x: next x] x: head x] 7.31 [for j 1 sz 1 [s: pick x j]] 8.63 [forall x [s: first x] x: head x] 9.39 [forskip x 1 [s: first x] x: head x] Sum elements of block of numbers 1.53 [s: 0 foreach el x [s: s + el]] 2.53 [s: 0 repeat j sz [s: s + pick x j]] 3.85 [s: 0 j: 1 loop sz [s: s + pick x j j: j + 1]] 3.79 [s: 0 loop sz [s: s + pick x 1 x: next x] x: head x] 8.23 [s: 0 for j 1 sz 1 [s: s + pick x j]] 10.06 [s: 0 forall x [s: s + first x] x: head x] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Ralph's weather.r
Here's the weather script I've been using at our http://abooks.com site for some time now (REBOL embedded within PHP). See it in action at: http://abooks.com/cgi-bin/weather.r And here's the script (enjoy!): #!/rebol/rebol --cgi REBOL[ TITLE: "weather.r" AUTHOR: "Ralph Roberts"] print "Content-Type: text/html^/" a: read http://weather.noaa.gov/cgi-bin/iwszone?Sites=:ncz053 ; go to the NOAA site and find your local weather ; to get the URL above b: "" print parse/all a [thru "ZONE FORECAST PRODUCT" copy b thru ""] print b ;; read REBOL FOR DUMMIES, order at http://rebolpress.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: forecast
Thanks for this cool script, Ryan. You might want to change that integer! argument to a string! in that function definition, since there are Zip codes that begin with a zero (like mine): ;snip- forecast: func [ ZIP [string!] ... >> print forecast "07940" ... ;end snip Cheers. --- [EMAIL PROTECTED] wrote: > I thought I'd share this quick function for any web > developers who may be > interested in grabbing National Weather Service > (U.S.) forecasts from > Accuweather.com. > > forecast: func [ > ZIP [integer!] {The ZIP code for where you want > the forecast} > /local weather-URL weather-info future-weather > ][ > weather-URL: make url! rejoin > [{http://www.accuweather.com/adcbin/local_index?thisZip=} > ZIP {&nav=home}] > weather-info: read weather-URL > parse/all weather-info [thru "^/." copy text to > "^/^/" (future-weather: > copy text)] > future-weather > ] > > USAGE example... > > >> print forecast 98270 __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: extended forecast
Very nice, Ryan (I love weather scripts). Here's a modification of your script to make it web-ready. See it in action doing the Asheville, NC weather at: http://nuoj.com/cgi-bin/weather-forecast.r and below is the script itself (mostly Ryan's work, give him all the credit): #!/rebol/rebol --cgi REBOL [] print "Content-Type: text/html^/" ZIP: 28806 ;;; put in your own zip code forecast: func [ ZIP [integer!] {The ZIP code for where you want the forecast} /local weather-URL weather-info future-weather ][ weather-URL: make url! rejoin [{http://www.accuweather.com/adcbin/local_index?thisZip=} ZIP {&nav=home}] weather-info: read weather-URL parse/all weather-info [thru "^/." copy text to "$$" (future-weather: copy text)] print future-weather ;; added print function ] print "Weather for Asheville, North Carolina" forecast ZIP -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] extended forecast
I fixed the parsing in 'forecast so that it will give you the extended weather forecast, as well... forecast: func [ ZIP [integer!] {The ZIP code for where you want the forecast} /local weather-URL weather-info future-weather ][ weather-URL: make url! rejoin [{http://www.accuweather.com/adcbin/local_index?thisZip=} ZIP {&nav=home}] weather-info: read weather-URL parse/all weather-info [thru "^/." copy text to "$$" (future-weather: copy text)] future-weather ] Ryan C. Christiansen Web Developer Intellisol International 4733 Amber Valley Parkway Fargo, ND 58104 701-235-3390 ext. 6671 FAX: 701-235-9940 http://www.intellisol.com Global Leader in People Performance Software _ Confidentiality Notice This message may contain privileged and confidential information. If you think, for any reason, that this message may have been addressed to you in error, you must not disseminate, copy or take any action in reliance on it, and we would ask you to notify us immediately by return email to [EMAIL PROTECTED] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
I use MultiEdit. Its not free, but has a trial version and perhaps some sort of academic pricing. Regards, David Tim Johnson <[EMAIL PROTECTED]> wrote: Hello All: I have designed and am teaching a class in rebol for high school as a first semester. I would welcome recommendations for a MS-Windows compatible editor that would enable syntax highlighting and be available at no fee. Myself, I use vim on both Linux and Windows, but I think either vim or emacs would be a little too difficult for some of the students. --Looking forward to opinions-- TIA -- Tim Johnson "My shroe, my shroe, my dingkom for a shroe!" --TheManWhoSpeaksInAnagrams (Monty Python) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes. please reply to: [EMAIL PROTECTED] - Do You Yahoo!? Yahoo! Auctions - Click and bid on cool stuff like Dave Matthews Band Tickets & more! -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] forecast
I thought I'd share this quick function for any web developers who may be interested in grabbing National Weather Service (U.S.) forecasts from Accuweather.com. forecast: func [ ZIP [integer!] {The ZIP code for where you want the forecast} /local weather-URL weather-info future-weather ][ weather-URL: make url! rejoin [{http://www.accuweather.com/adcbin/local_index?thisZip=} ZIP {&nav=home}] weather-info: read weather-URL parse/all weather-info [thru "^/." copy text to "^/^/" (future-weather: copy text)] future-weather ] USAGE example... >> print forecast 98270 connecting to: www.accuweather.com THIS AFTERNOON...MOSTLY SUNNY THEN INCREASING CLOUDS. HIGHS IN THE 60S. WIND LIGHT AND VARIABLE...BECOMING SOUTHWEST 5 TO 10 MPH LATE. .TONIGHT...CLOUDY. A CHANCE OF LIGHT RAIN OR DRIZZLE. LOWS AROUND 45. WIND SOUTHWEST 10 TO 15 MPH EXCEPT NORTHWEST TO 10 MPH NORTH OF SEATTLE. .TUESDAY...MOSTLY CLOUDY WITH SPRINKLES OR DRIZZLE MAINLY IN THE MORNING. HIGHS 55 TO 60. SOUTHWEST WIND 10 TO 15 MPH BECOMING NORTHWEST 5 TO 15 MPH LATE. .< TEMPERATURE / PRECIPITATION SEATTLE 65 45 59 / 10 30 20 EVERETT 62 45 58 / 10 40 30 SHELTON 67 45 60 / 10 20 20 >> Ryan C. Christiansen Web Developer Intellisol International 4733 Amber Valley Parkway Fargo, ND 58104 701-235-3390 ext. 6671 FAX: 701-235-9940 http://www.intellisol.com Global Leader in People Performance Software _ Confidentiality Notice This message may contain privileged and confidential information. If you think, for any reason, that this message may have been addressed to you in error, you must not disseminate, copy or take any action in reliance on it, and we would ask you to notify us immediately by return email to [EMAIL PROTECTED] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Help with parsing
Brett Thanks for taking the time to helping me understand Rebol parsing. I have made some minor modifications to the function that you created for me and now it does exactly what I need it to. Even better I now have a much greater understanding of parsing. The function now looks like this result-dates: function [ "Returns the dates after a specified event name" data event-name ] [parse-rule result date-rule digit mon-abbrev found] [ digit: charset [#"0" - #"9"] mon-abbrev: ["jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec"] date-rule: [1 2 digit #"-" mon-abbrev #"-" 2 digit] parse-rule: [ any [ copy current-date date-rule (if found = event-name [append result to-date current-date]) | copy found event-name | skip ; ignore one character ] end ] result: copy [] either parse data parse-rule [RETURN result] [RETURN none] ] The function returns each date in the row that immediately follows the event-name Thanks Stephen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brett Handley Sent: 06 May 2001 02:38 To: [EMAIL PROTECTED] Subject: [REBOL] Re: Help with parsing Hi Stephen, The issue you have in the function below is that you are using a future feature of Rebol parse :) In particular your use of "TO pattern" seems reasonable but at the moment the pattern supplied to TO and THRU has to be a single value not a composite parse rule. I believe there was mention that composite patterns will be available in a future release of Rebol. It should have worked with COPY though. I think you also have a small problem with your date format in your parse test because it doesn't appear to handle single digit days (5-jun-00). Otherwise in your sample, the dates all follow a simple rule. Another thing to think about is the context of your dates. Glancing at your sample data it appears dates only relate to the text item found in the same section. So how about the code below. Some points to note: it finishes the parse early if it finds a "", it trys to match a dates but if it fails it step through once character and trys again. result-dates: function [ "Returns the dates after a specified event name" data event-name ] [parse-rule result date-rule digit mon-abbrev] [ digit: charset [#"0" - #"9"] mon-abbrev: ["jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec"] date-rule: [1 2 digit #"-" mon-abbrev #"-" 2 digit] parse-rule: [ thru event-name any [ "" to end | copy current-date date-rule (append result to-date current-date) | skip ; ignore one character ] end ] result: copy [] either parse data parse-rule [RETURN result] [RETURN none] ] Here are some results based on your example. >> result-dates s "prelim results" == [29-Nov-2001] >> result-dates s "prelim results" == [29-Nov-2000 27-Dec-2000] >> result-dates s "int xd" == [1-Jun-1999 26-May-2001] No doubt these are not quite the right dates so you will need to look at how you find the correct section of data. Hopefully it helps you though. Brett. - Original Message - From: "Stephen Clarke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 7:55 AM Subject: [REBOL] Help with parsing I am a new to Rebol and have been experimenting with the parse function I have tried to find the latest date from a line in a website where the date follows a given piece of text but is followed by either a tag or an unknown piece of text. The line also contain dates to be ignored as they follow a different piece of text. The following function works if the date is always followed by a known piece of text. I have tried various thing to get it to work as I want such as using | to have different text to "copy to" , I have also tried pattern matching using MON1: charset "JFMASOND" MON: charset [#"a" - #"z"] YY: charset [#"0" - #"9"] MON2: charset "aepuco" date: "2-Apr-01" parse date [ 1 YY 0 1 YY "-" 1 MON1 1 MON2 1 MON "-" 1 YY 0 1 YY ] which works on its own, but I can not get it to work with to thru and copy Sample line next AR year end30-Sep-01Previous Forecast _ _int xd (8.00p) 1-Jun-99 int results 26-May-01fin xd (14.6p) 13-Dec-99 annual report 24-Nov-01int results 26-May-00 prelim results 29-Nov-01int xd (8.50p) 5-Jun-00 agm 26-Jan-02year end30-Sep-00annual report 24-Nov-00prelim results 29-Nov-00fin xd (15.5p) 27-Dec-00agm 26-Jan-01__
[REBOL] Re: Unable to use Switch and Datatypes..
Larry Palmiter wrote: >Hi Scott > >Just a quick tip. This works: > > switch/default type?/word 'aWord [ > word! [ print "a word is a word."] > ] [ > print "A word is not always a word." > ] > >You need to have word! be a word in the switch list, not a datatype. > >-Larry Well, that's much cleaner than my solution :) I never cease to be amazed at the clever little improvements that have been added to REBOL over time. Sometimes it seems like there isn't a day that goes by without one of the work- arounds that I've found over the years becoming obsolete. Bless Feedback, and this list :) Brian Hawley -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
On Monday, May 07, 2001 @ 9:43:42 AM you wrote: CPSSCCC> Hi Tim: CPSSCCC> I use for more than 6 month the excellent *free* editor *CRedit* by a guy CPSSCCC> named Plamen: CPSSCCC> http://www.geocities.com/plamen_p/credit/ I found it at http://www.jikos.cz/~milan/Editors/ (Google rulez ;) rgds. -- 2ker uin: 5901548 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Unable to use Switch and Datatypes..
Scott Dunlop wrote: >Is this a bug or a feature? > >The following code, which I would expect to generate 'A word is a word.', >outputs 'A word is not always a word.', indicating that word! is not >equivalent to word! for the purposes of switch. This also appears to be >the case with the string! datatype. The interesting thing is that [word! == >word!] returns true. > > switch/default type? 'aWord [ > word! [ print "a word is a word."] > ] [ > print "A word is not always a word." > ] > >Thanks in advance for any suggestions people have for working around this, >aside from a long chain of Either statements.. It's a feature :) The word word! is just a word until it is evaluated. The block of cases passed to the switch function is not itself evaluated - just the selected value. If you are using literal values as keys this is not a problem, even a speedup. For other values, try this: switch/default type? 'aWord reduce [ word! [ print "a word is a word."] ] [ print "A word is not always a word." ] That evaluates the case block, changing words to the corresponding values. Note that this creates a new case block every time the expression is evaluated. There are other hacks that can be done to evaluate the block only once, such as using compose, that may or may not be appropriate in your situation. Most of the time it doesn't matter. I hope this helps. Brian Hawley -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Unable to use Switch and Datatypes..
Hi Scott Just a quick tip. This works: switch/default type?/word 'aWord [ word! [ print "a word is a word."] ] [ print "A word is not always a word." ] You need to have word! be a word in the switch list, not a datatype. -Larry - Original Message - From: "Scott Dunlop" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 7:07 AM Subject: [REBOL] Unable to use Switch and Datatypes.. > Is this a bug or a feature? > > The following code, which I would expect to generate 'A word is a word.', > outputs 'A word is not always a word.', indicating that word! is not > equivalent to word! for the purposes of switch. This also appears to be > the case with the string! datatype. The interesting thing is that [word! == > word!] returns true. > > switch/default type? 'aWord [ > word! [ print "a word is a word."] > ] [ > print "A word is not always a word." > ] > > Thanks in advance for any suggestions people have for working around this, > aside from a long chain of Either statements.. > > --Scott. > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: proxy problem with desktop
Have you tried setting proxy type to "none"? Can you get through without specifying the proxy? Anton. > no connection with desktop thr proxy. What wrong ? > the proxy parameter is good but the desktop can't use > the proxy. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Unable to use Switch and Datatypes..
Verified the problem here - that behavior doesn't seem right. Some simple testing: >> some-type: word! == word! >> switch/default some-type [word! [print "ok"]][print "not ok"] ok >> some-type: type? 'aword == word! >> switch/default some-type [word! [print "ok"]][print "not ok"] not ok Seems like the literal word! doesn't match to the return of 'type?. To support this, see below. Note that the return of 'type? is forced into the "case" section of the switch, and it works: >> case1: [x [print "ok"]] == [x [print "ok"]] >> change case1 type? 'aword == [[print "ok"]] >> print mold case1 [word! [print "ok"]] >> switch/default type? 'aword case1 [print "not ok"] ok Looks like a bug to me. As a work-around, if you don't want to violate your case-statements like that, you could 'form or 'mold the results of 'type? and use strings for the comparisons (yeah it's kinda strange, but 'mold returns a string on datatypes). - Michael Jelinek Scott Dunlop <[EMAIL PROTECTED]>@rebol.com on 05/07/2001 09:07:30 AM From: Scott Dunlop <[EMAIL PROTECTED]>@rebol.com on 05/07/2001 09:07 AM Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: [REBOL] Unable to use Switch and Datatypes.. Is this a bug or a feature? The following code, which I would expect to generate 'A word is a word.', outputs 'A word is not always a word.', indicating that word! is not equivalent to word! for the purposes of switch. This also appears to be the case with the string! datatype. The interesting thing is that [word! == word!] returns true. switch/default type? 'aWord [ word! [ print "a word is a word."] ] [ print "A word is not always a word." ] Thanks in advance for any suggestions people have for working around this, aside from a long chain of Either statements.. --Scott. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
Hi : On Mon, May 07, 2001 at 09:43:42AM +0200, CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN wrote: > Hi Tim: > > I use for more than 6 month the excellent *free* editor *CRedit* by a guy > named Plamen: > > http://www.geocities.com/plamen_p/credit/ > > I've just check the site, but it seems to be done. Hope it will get better > soon... > > It has all the features you need, including REBOL support for > syntax-highlighting, split-screen, console redirection, macro's ... > > If you couldn't get it, I can mail it to you: the zip file is just 1MB big. I would consider it quite a favor if you would send it to me. I see that the site is still off line. Thanks!! > Although we're not working with the same audience, I'm concerned by the use > of REBOL for teaching purpose: I will have to teach REBOL to my dev team. > > I would be glad if you could keep me informed of the course-monography (I > don't know if it's the right English word for it) you could produce, > describing the learning stuff and the order you will use to teach your > students. > > Thanks in advance, > > chr== It is probably accurate to say that this is "not" a class on rebol, but a class on introduction to programming using rebol. The distinctions are: 1)At the time of writing, I was myself learning rebol. I'm nowhere as knowledgeable as many on this list, although I've done some commercial work in rebol. The focus was on the more fundamental concepts that apply to all/most languages. 2)The class was just the first of a series of 4: Following are Python, perl, and C/C++. I felt that rebol would be the ideal first programming language. Personally, I would hope that rebol would be my "last" programming language, as it has become my vehicle of choice for development, but the idea was to turn out students with exposure to more than one language. I hope to eventually set up a more advanced class in rebol, but that is not yet agreed upon. -- Tim Johnson <[EMAIL PROTECTED]> "My shroe, my shroe, my dingkom for a shroe!" --TheManWhoSpeaksInAnagrams (Monty Python) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
Quoting Joel Neely ([EMAIL PROTECTED]): > * Syntax coloring works. Yes, but the rebol.vim seems to be somewhat dated. I added some words in mine, but I lost the changes as I updated my vim (the changed file might still be somewhere on the hard disk...) I'll try to find it as I just have the time. -- Jussi HagmanCS in Åbo Akademi University Studentbyn 4 D 33 [EMAIL PROTECTED] 20540 Åbo [EMAIL PROTECTED] Finland -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
On Mon, May 07, 2001 at 07:36:26AM -0500, Joel Neely wrote: > Hi, Tim, > > > Myself, I use vim on both Linux and Windows, > > but I think either vim or emacs would be a > > little too difficult for some of the students. -But not all of them, I do anticipate that some will investigate vim, since (even though I don't make it a requirement) I speak very frankly about my use of it. > At the risk of sounding elitist, I have to disagree with > the conclusion of your last sentence and recommend vim, > for the following reasons: > 1) vim-related: > * Works on *many* platforms the students are > likely to have access to (both at school > and at home. > * Founded on vi, the most ubiquitous editor in > the Unix/Linux world. (Note: I didn't say > "best" -- I'm not trying to start a flame war > -- I simply meant that you can find vi on > essentially any *n*x box, regardless of age > or size.) Therefore the result of learning > vim is a highly portable/reusable skill. > * Syntax coloring works. > * The basic text-manipulation commands in vi(m) > have a direct analog to the basic series > manipulation operations in REBOL: changing > part of a series, removing part of a series, > inserting somewhere in a series, moving the > "current position" within a series, etc. > Therefore you're able to introduce the concepts > once and re-use them for both programming and > editing. > > 2) student-related: (the part most likely to provoke > some flames, I fear) > * Using any text editor (emphasis on "any") > requires that you understand files, inserting > and deleting text, versions of files, backup > habits, etc. Any student who can't understand > these concepts has no business programming. > In any language. > * It's fairly easy to define "core vi(m)" commands > (:e :r :w :q i a I A o O c d and, of course, > h j k l 0 $) that are enough to do some 75% of > all simple editing tasks. This is one class > period's worth of work, plus some practice to > push the knowledge "out to the fingertips". > Any student who can't understand these concepts > has no business programming. In any language. > > I should add that my perspective is based (in part) on my > own experiences in teaching (12 years' of Math and Computing > Science in higher education) and my sadness (and even > frustration, at times) over the disservice done to entering > students by high-school teachers who short-changed the kids > by assuming that they couldn't learn -- and therefore didn't > teach the kids things they should have known. > > Have faith. Trust the kids. Be enthusiastic. Don't be > afraid to give them a challenge. Respect their minds and > get ready for a surprise. (And, sadly, deal with the fact > that everyone deserves an equal opportunity, but not all > will make the most of it.) Your points are well taken, however it is my concern, and the concern of those that I contracted to design this class - that making a stipulation of one editor over another would create backlashes from the community. I know the parents of some of the students, indeed all 6 of my kids and step kids came out of this environment. I just want to give them some options - and a generic Windows - style Editor "should" be an option in my opinion. Our decision was based on not leveraging one product by teaching another. It had nothing to do with trust or not trusting the kids. I also know that some of the kids "love" xemacs, so it isn't just the parents. :>) thanks Joe Tim (Writing on Vim) > -jn- > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. -- Tim Johnson <[EMAIL PROTECTED]> "My shroe, my shroe, my dingkom for a shroe!" --TheManWhoSpeaksInAnagrams (Monty Python) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Embedded object and scope
Hi list: I tried the following: ancestor-object: make object! [ global-obj-prop: make integer! 0 init: func [ val [integer!] ][ global-obj-prop: make integer! val ] embedded-object: make object! [ print-global-obj-prop: does [print global-obj-prop] ] ] Ok, so I tried: >> ancestor-object/init 10 == 10 >> ancestor-object/embedded-object/print-global-obj-prop 10 No problem here :-) >> descendant-object: make ancestor-object [] >> descendant-object/init 20 == 20 >> descendant-object/embedded-object/print-global-obj-prop 10 Ouch, not what I thought... Let's check... In the "Official Guide", pg 348, I found: "The ancestor object and the descendant object share the same embedded object." OK, so I tried something else: >> descendant-object: make ancestor-object [descendant-embedded-object: make embedded-object []] >> descendant-object/init 20 == 20 >> descendant-object/descendant-embedded-object/print-global-obj-prop 10 Again, not what I thought ... I was awaiting 20 !!! ;-( Here are my questions: 1. Why did RT choose for such implementation ? What are the advantages ? 2. Why did my last try not work - it was -IMHO- logical I should get a result of 20 ..., as I instanciated the embedded object within the instanciation of the ancestor object. 2. How can I get my descendant-embedded-object to retrieve the property of it's container, the descendant-object ? Thx for answering :-)) chr== -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] boot error 951
On a linux box, I get Boot error 951 upon launching rebol. What the heck does it mean? How can I fix that? Strange thing is that it used to run fine. thanks a lot, fantam -- [EMAIL PROTECTED] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Unable to use Switch and Datatypes..
Is this a bug or a feature? The following code, which I would expect to generate 'A word is a word.', outputs 'A word is not always a word.', indicating that word! is not equivalent to word! for the purposes of switch. This also appears to be the case with the string! datatype. The interesting thing is that [word! == word!] returns true. switch/default type? 'aWord [ word! [ print "a word is a word."] ] [ print "A word is not always a word." ] Thanks in advance for any suggestions people have for working around this, aside from a long chain of Either statements.. --Scott. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] code sharing (was Re: Re: web calendaring)
Will this code sharing area be on the Reb AND the Web? I hope so. Here is what I would find useful in a code sharing area... 1. Script library, including... A. Header information required for all scripts. B. All script functions must have usage and variable explanations. C. All scripts are displayed in the library with explanations, including... I. high-level usage II. code III. list of objects and functions used and usage explanations for all D. For /View scripts, include screen shots. E. Web- and Reb-based interface which allows developers to create an account and post their own scripts. 2. Function library of stand-alone functions with usage explanations. Click on a check box next to the functions you like, click on a submit button and REBOL will create a custom user.r script for you on the fly. -Ryan Carl wrote... Which reminds me, we **really** need to set up a REBOL-based code sharing area on the Reb. We can host it off our reboltech.com domain. I want to move the main script library there too. Ryan C. Christiansen Web Developer Intellisol International 4733 Amber Valley Parkway Fargo, ND 58104 701-235-3390 ext. 6671 FAX: 701-235-9940 http://www.intellisol.com Global Leader in People Performance Software _ Confidentiality Notice This message may contain privileged and confidential information. If you think, for any reason, that this message may have been addressed to you in error, you must not disseminate, copy or take any action in reliance on it, and we would ask you to notify us immediately by return email to [EMAIL PROTECTED] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] proxy problem with desktop
no connection with desktop thr proxy. What wrong ? the proxy parameter is good but the desktop can't use the proxy. help please ___ Do You Yahoo!? -- Pour faire vos courses sur le Net, Yahoo! Shopping : http://fr.shopping.yahoo.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
Heya CPN, CPSSCCC> I would be glad if you could keep me informed of the course-monography (I CPSSCCC> don't know if it's the right English word for it) Two words for the content of a class/school subject etc; "syllabus" and "curriculum" In old matters of schooling, English frequently falls back to Latin :) I believe the former applies more to a single course instead of an overall content for a school year or or something like that for the latter. -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
Hi, Tim, Tim Johnson wrote: > > Hello All: > I have designed and am teaching a class in rebol > for high school as a first semester. > > I would welcome recommendations for a MS-Windows > compatible editor that would enable syntax > highlighting and be available at no fee. > > Myself, I use vim on both Linux and Windows, > but I think either vim or emacs would be a > little too difficult for some of the students. > At the risk of sounding elitist, I have to disagree with the conclusion of your last sentence and recommend vim, for the following reasons: 1) vim-related: * Works on *many* platforms the students are likely to have access to (both at school and at home. * Founded on vi, the most ubiquitous editor in the Unix/Linux world. (Note: I didn't say "best" -- I'm not trying to start a flame war -- I simply meant that you can find vi on essentially any *n*x box, regardless of age or size.) Therefore the result of learning vim is a highly portable/reusable skill. * Syntax coloring works. * The basic text-manipulation commands in vi(m) have a direct analog to the basic series manipulation operations in REBOL: changing part of a series, removing part of a series, inserting somewhere in a series, moving the "current position" within a series, etc. Therefore you're able to introduce the concepts once and re-use them for both programming and editing. 2) student-related: (the part most likely to provoke some flames, I fear) * Using any text editor (emphasis on "any") requires that you understand files, inserting and deleting text, versions of files, backup habits, etc. Any student who can't understand these concepts has no business programming. In any language. * It's fairly easy to define "core vi(m)" commands (:e :r :w :q i a I A o O c d and, of course, h j k l 0 $) that are enough to do some 75% of all simple editing tasks. This is one class period's worth of work, plus some practice to push the knowledge "out to the fingertips". Any student who can't understand these concepts has no business programming. In any language. I should add that my perspective is based (in part) on my own experiences in teaching (12 years' of Math and Computing Science in higher education) and my sadness (and even frustration, at times) over the disservice done to entering students by high-school teachers who short-changed the kids by assuming that they couldn't learn -- and therefore didn't teach the kids things they should have known. Have faith. Trust the kids. Be enthusiastic. Don't be afraid to give them a challenge. Respect their minds and get ready for a surprise. (And, sadly, deal with the fact that everyone deserves an equal opportunity, but not all will make the most of it.) -jn- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
TIA, You might want to double-check how current the posted syntax highlighting file is. When I got mine (several months ago) it needed updating. A word of warning: for some reason, UltraEdit requires a blank character at the end of each line in the wordfiles.txt file (the file which defines the syntax highlighting), otherwise the last word on the line will not be highlighted. I've spent quite abit of time with my color scheme - more than most would, I'd imagine. The default colors for UEdit are pretty ugly IMO. If you'd like I could send you my file that defines the colors (UEdit32.ini). - Michael Jelinek From: "Timothy Sporcic" <[EMAIL PROTECTED]>@rebol.com on 05/06/2001 05:06 PM Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: [REBOL] Re: simple editor for rebol I'd also recommend UltraEdit. Yes, it's shareware, so not free, but I would guess you could get a site license for educational use at a reasonable price. The syntax highlighting for REBOL is available from their site. You can also configure it to automatically run the scripts you're editing. It's the editor I use every day. - Tim - Original Message - From: "P-O Yliniemi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 2:18 PM Subject: [REBOL] Re: simple editor for rebol > > Hi, > > I think I used some editor named "UltraEdit" the few weeks I had windows > installed during a computer and network technology class I took a few years > ago. > > Checking out it's home page (http://www.ultraedit.com) also validated this. > I think I was looking for some text editor that managed to save files in plain > ASCII or something (which there were very few of for windows four years ago). > > It supports syntax highlightning, but does not come preconfigured for REBOL. > > BUT.. it is shareware, 45 days of evaluation and then it costs $30 to register. > > /PeO > > > Hello All: > > I have designed and am teaching a class in rebol > > for high school as a first semester. > > > > I would welcome recommendations for a MS-Windows > > compatible editor that would enable syntax > > highlighting and be available at no fee. > > > > Myself, I use vim on both Linux and Windows, > > but I think either vim or emacs would be a > > little too difficult for some of the students. > > > > --Looking forward to opinions-- > > TIA -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] launch
What's the voodoo involved in launching a separate remote script? And what's a launcher program? -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: simple editor for rebol
Hi Tim: I use for more than 6 month the excellent *free* editor *CRedit* by a guy named Plamen: http://www.geocities.com/plamen_p/credit/ I've just check the site, but it seems to be done. Hope it will get better soon... It has all the features you need, including REBOL support for syntax-highlighting, split-screen, console redirection, macro's ... If you couldn't get it, I can mail it to you: the zip file is just 1MB big. Although we're not working with the same audience, I'm concerned by the use of REBOL for teaching purpose: I will have to teach REBOL to my dev team. I would be glad if you could keep me informed of the course-monography (I don't know if it's the right English word for it) you could produce, describing the learning stuff and the order you will use to teach your students. Thanks in advance, chr== > Hello All: > I have designed and am teaching a class in rebol > for high school as a first semester. > > I would welcome recommendations for a MS-Windows > compatible editor that would enable syntax > highlighting and be available at no fee. > > Myself, I use vim on both Linux and Windows, > but I think either vim or emacs would be a > little too difficult for some of the students. > > --Looking forward to opinions-- > TIA > -- > Tim Johnson <[EMAIL PROTECTED]> > "My shroe, my shroe, my dingkom for a shroe!" > --TheManWhoSpeaksInAnagrams (Monty Python) > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.