ANyone havethe settings for JFE to do syntax highlighting with REBOL? So I
dont have to do this all by hand?
Hi
A question:
Using REBOL
How can I test if the username has a mailbox at
the e-mail server?
In other words: how can I test if @ is a valid
e-mail address?
(Of course I don't know the password)
Thank you
__
Do You Yahoo!?
Hello [EMAIL PROTECTED]!
On 24-Nov-99, you wrote:
i So the difference results from how 'form handles words with or
i w/o parens. Apparently, when form finds the literal word
i 'service it simply embeds the word in quotation marks. In
i contrast form apparently dereferences a word if that
Hello [EMAIL PROTECTED]!
On 26-Nov-99, you wrote:
A I don't know why it works, but it does. Any ideas?
Why shouldn't it?
Regards,
Gabriele.
--
o) .-^-. (--o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on
Hello [EMAIL PROTECTED]!
On 26-Nov-99, you wrote:
A That Interface/Test returns the value of 't! In C++, this
A wouldn't work, as the function 'Test_Implementation wouldn't
A be able to find 't in 'Interface. It's disturbing to me as a
A C++ programmer, but viewing it as a novice might, it
Just to add my 2 cents, I'd simply say that REBOL is DESCRIPTIVE.
Regards,
Gabriele.
--
o) .-^-. (--o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ |
Hello [EMAIL PROTECTED]!
On 28-Nov-99, you wrote:
[...]
o fac1 and fac2 are semantically identical. But how would you
o dynamically see that you should eliminate tail recursion in
o fac2? Sure, you could do it by looking forward some bytes
o (seeing that there isn't anything more to do in
I am no expert either, but I seem to have it going (at last).
I added the following to access.conf
Directory /home/ingo/public_html
AllowOverride All
Options ExecCGI FollowSymLinks
order allow,deny
allow from all
/Directory
This allows me to use CGI (ExecCGI) within the dir
Ladislav,
I am impressed by your recursive fib. In fact it inspired me to write a
zero finding routine in a similar manner. If I am not imposing too much,
can you tell me if it is functional programming?
Jerry
x: binsrch "x - exp - x" 'x 0 1
== 0.567143290409784
exp - x
== 0.567143290409784
Hi Andrew,
Those were the words of [EMAIL PROTECTED]:
...
Words in objects which refer to functions are copied. Therefore the
object will be bigger than expected.
...
seems logical, given that functions are the same as data in Rebol,
but it would be nice to have them only once for a set of
When I asked Rebol Tech about tail-recursion some time ago,
that was what they told me. And that they wanted it back, too,
but only for functions that need it. So maybe we'll at some time
see a function argument [recursive], or the like,
regards,
Ingo
Those were the words of [EMAIL
Hi Gabriele,
REBOL 1.0 was tail recursive, and it was SLOW. This is because, as
Joe Marshall expalined to me, handling tail recursion is not an
easy thing to do. I'd like to see tail recursion back in REBOL,
but I'm not sure if I'd want the complexity of the interpreter to
increase. I'd prefer a
Hi Gabriele,
glad to see you back in good "form" (pun itended ;-).
you wrote:
That behaviour is not due to form:
Correct. What is it due to?
Apparently, the way REBOL treats words in parentheses has changed since
version 1:
Here's what version 1 used to do:
word: "meaning"
meaning
var2:
[EMAIL PROTECTED] wrote:
Ladislav asked for some functional programming in REBOL, so I've
come up with a challenge.
...
3. Return a block of the strings present in this structure:
[[[3 "hello"] [6 "world"] [7 "from" "rebol" 21]]
[[["hi"] ["this" ['aword] "is"] "a"] "test"]]
Gabriele wrote:
Andrew, I thought you had learned that there's so much difference
between C++ and REBOL... ;-)
So had I! :-)
REBOL's objects are just contexts; being your 't correctly bound to
the right context, it evaluates to the correct value.
My C++ experience just
Andrew wrote:
Words in objects which refer to functions are copied. Therefore the
object will be bigger than expected.
Ingo wrote:
Seems logical, given that functions are the same as data in Rebol,
but it would be nice to have them only once for a set of equal objects,
..
Yes. I'm
Graham wrote:
Anyway, I've got it so that the script logs on to MTNSMS's password
page, grabs the session and persistent cookies, and then posts the
message with these cookies to the send-message asp script. End result
- my cellphone rings with a text message!
It looks ugly, but it works.
So how would you solve the problem in REBOL?
--
Mikael Östergren
[EMAIL PROTECTED]
mob: +46 (70) 555 4431
fax: +46 (8) 5981 5932
voice box: +46 (8) 5981 5932
Without showing some code, it's not likly to get any better. And we already
know you are new :)
August
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 28, 1999 6:12 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] My last message about text file
Hi Mikael,
one simple way to do it:
result: make block! 100
remove-these: [
"get rid of this"
"remove this"
]
foreach line read/lines %test.txt [
foreach pattern remove-these [
if found? find line pattern [clear line]
]
if length? line 0 [append/only result line]
]
Note that
Hi Mikael,
I forgot to mention:
Use write/lines to write the results of my previous example back to file:
write/lines %filtered-log.txt result
Elan
At 02:33 AM 11/29/99 +0100, you wrote:
I've just started out with some REBOL programming and the first task I was
planning to solve is this:
I
Sorry, I'm way behind in my email these days... and did not
see an answer for you on this one
Answer:
All non-interactive REBOL sessions will, by default, quit
when an error occurs. (To know what happened, redirect the
output of such scripts to a log file. You can use "" in
many OSes to
Hi,
i have a problem with the input values for lesser?
it should take any type of value. Anyway, used with sort i get an error , but
why ?:
list: [
[%readme.txt 4-Sep-1998/5:37:08+1:00 139 file "^/"]
[%user.r 26-Nov-1999/17:08:58+1:00 330 file "^/"]
]
i can compare the date in that way :
In article 19991129005924.QBMP1752249.mta2-rme@andrew,
[EMAIL PROTECTED] writes
Can you post your script to the list (if it's really ugly), or to
REBOL.org (if it's not too ugly), please?
Andrew Martin
I'll post here as it really needs redoing. In Andrew Grossman's
cookies-client.r script on
Hi Alexander,
Your return value is strange. I tried it on my machine and I get:
list: [
[[%readme.txt 4-Sep-1998/5:37:08+1:00 139 file "^/"]
[[%user.r 26-Nov-1999/17:08:58+1:00 330 file "^/"]
[]
== [[%readme.txt 4-Sep-1998/5:37:08+1:00 139 file "^/"] [%user.r
25 matches
Mail list logo