Title: Script = Rebol Tag
How do I get the embedded Script tags in a HTML page to work. I have tried saving as both myPage.r and myPage.html, neither work. I have managed to set up the web server to correctly run Rebol as CGI scripts. This is the only example I cannot get to work.
If the
Hi,
I've just posted version 1.0.2 of format.r to rebol.org.
http://www.rebol.org/utility/format.r
It includes one bug fix and a couple of added features:
1. Option to insert commas in long numbers.
format 1e9 #..8
== "1,000,000,000"
2. Money values now formatted to various
Hi does anyone know how to post to newsgroups.
Rebol's new user guide does'nt say. The old user guide did.
The new one does'nt tell how to just download the headers
either. Does anyone know how to just download the first
100 lines of newsgroup messages? thanks..
timmy
Does anybody know how (or has written something) to handle multipart email
messages? I mean things like listing, extracting attachments from a message
when reading it, or composing an email message consisting of a number of
attachments?
Thanks
Mauro
Gobiraj wrote:
We are using say UPS for freight calculation. I want to give the to and from
zip code, weight and dimension to the UPS site. Then I would like to
download the freight charges in to some local table/ascii file.
My url will be https://www.ups.com/ups.app/iss.class. Is it possible to
I think you intended a prompt to verify that the correct date was entered
(you can use the "ask" word) but other than that it's nice. :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 21, 2000 7:00 PM
To: [EMAIL PROTECTED]
Subject: [REBOL]
Hello Elan,
I agree that in a garbage-collection world, destructors are mostly unneeded,
but then garbage collection must cover everything (ie. every resource).
Consider the following REBOL session - the port is not freed by the GC.
Quite anoying when experimenting.
Perhaps the GC is simply
Hi Matos,
How can I know wich objects, variables and other things exist under an
object?!
use and look at Bo's system browser (browse-system.r) which should be on
rebol.org. If you can't find it let me know off-list and I'll mail it to you.
In short, as Jan pointed out, you can access a block
Can some one please give me an example of how to use /default in a switch
construction?
TIA
Brad
P.S. The dictionary *really* falls down in advanced examples...
Here is something more efficient
: firstOfNextMonth: firstOfMonth/month:
firstOfMonth/month + 1== 1-Mar-2000 daysInMonth:
firstOfNextMonth - firstOfMonth== 29print ["
There are " daysInMonth " days in " currentMonth
now/year]Olivier
Thanks for theelegantcode above... run the
[EMAIL PROTECTED] wrote:
Hi does anyone know how to post to newsgroups.
Rebol's new user guide does'nt say. The old user guide did.
The new one does'nt tell how to just download the headers
either. Does anyone know how to just download the first
100 lines of newsgroup messages? thanks..
You are reading the data correctly, but you need to check
system/options/cgi/request-method to make sure that this was a POST request
before you use the content-length - if the page was requested with GET you
don't want to try to read from STDIN. And if there is a POST request with
no data
Here is something more efficient :
firstOfNextMonth: firstOfMonth/month: firstOfMonth/month + 1
== 1-Mar-2000
daysInMonth: firstOfNextMonth - firstOfMonth
== 29
print [" There are " daysInMonth " days in " currentMonth now/year]
Olivier
Thanks for the elegant code above... run the
[EMAIL PROTECTED] wrote:
Does anybody know how (or has written something) to handle multipart email
messages? I mean things like listing, extracting attachments from a message
when reading it, or composing an email message consisting of a number of
attachments?
do
Hello Rebol,this had a few errors and fixed:
REBOL [
Title: "HTML Monthly Calendar"
Date: 19-Feb-2000
Version: 0.0.1
Name: "Monthly Calendar"
File: %rebMonth.r
Author: "John Braman"
Email: [EMAIL PROTECTED]
Rights: { "Copyright (C) John Braman" Permission to use
Hi, Mauro,
In the http://www.rebol.org/email/index.html, you'll find sample scripts to
handle how to compose an email with attachments.
Hope that helps.
Tiana
Reply Separator
Subject:[REBOL] [REBOL] Multipart emails
Author: [EMAIL PROTECTED]
Date:
Hi does anyone know how to post to newsgroups.
Rebol's new user guide does'nt say. The old user guide did.
The new one does'nt tell how to just download the headers
either. Does anyone know how to just download the first
100 lines of newsgroup messages? thanks..
Check out:
RIP - REBOL Self Extracting Binary Archives
1. OVERVIEW
Here is a script for creating REBOL self-extracting file
archives that are BINARY rather than textual. The binary
format of the archive provides extra speed when downloading
applications from websites or ftp.
Each archive begins with a
This is probably a repeat, but I don't see my original posting.
How do you search a key-value sort of series when the key can appear more
then once? i.e. [ a 200 b 22200 a 22323 ] Select returns 200. If 200
isn't what I'm searching for I want to look for the next.
Brad Emerson
f: func [][
c: ask "Please type a primary color? "
example: switch/default c [
"red" ["Roses are red."]
"blue" ["Violets are blue."]
"yellow"["Daisies are yellow."]
][
rejoin ["'"c "' is not
I have a series with multiple identical entries, but different values:
[ "book" "The Hobbit" "book" "The Stand" "candy" "Mars Bar" "candy" "MM" ]
I want to search the series for each occurrence of say "book" and then
evaluate it for a match. How can I do this? Or, is select perhaps not the
Greetings and Salutations! :)
Apart from rebol.com (and rebol.org(?)), I was wondering if anyone here
uses rebol in some way for generating websites (or could point me
towards some sites that do).
I've already completed an incredibly rudimentary system that puts brings
together separate
Hello,
I'm having a problem with understanding Parsing using recursion. The code
below consists of 4 tests.
Tests 1 and 4 produce the correct results, both in terms of the values in
the block and that they returns TRUE. The [none] in the rule makes this
happen.
Test 2 produces the correct
Check out www.rebol.org.
Lots of cool scripts there including scripts to attach and detach
files in email.
Sterling
Does anybody know how (or has written something) to handle multipart email
messages? I mean things like listing, extracting attachments from a message
when reading it, or
I think http://www.openip.org is REBOL generated. It really is a nice
looking site
Scott
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [REBOL] rebol-"powered" web sites
Date: Thu, 24 Feb 2000 10:53:27 +1000
Greetings and Salutations! :)
Apart from
How can I make rebol a cgi interpreter on win95 apache ?
I can easily make perl work. Just copy the perl script to cgi-bin and
make sure a #!C:/PERL/BIN/PERL at the top. I don't even need to touch
the apache .conf files.
I did the same to rebol.
Your post was fascinating because when I used clicked to open it with my MS
Outlook express it pops open a blank ie window about 500x600 with no
controls and the following error message... Internet Explorer cannot open up
the file C//:\web\iejit.htm
How did you do that?
braman
-
Hi, Does anyone know how I can just download 100 lines
or less of each news post. Some news posts are gigaintic.
thanks timmy
Hi kenss,
At 11:40 AM 2/24/00 +0800, you wrote:
How can I make rebol a cgi interpreter on win95 apache ?
I can easily make perl work. Just copy the perl script to cgi-bin and
make sure a #!C:/PERL/BIN/PERL at the top. I don't even need to touch
the apache
They're not treated differently. A condition
is a condition. "While" gives more options
such as including more commands in the conditional block
( as long as the last is conditional ). It's the last condition
in the block that determines if the loop continues. "while"
and "until" are very useful.
31 matches
Mail list logo