Hello All!
Most of you know me as "Bo, the REBOL Support Guy." But what you may
not know is that I am also "Bo, the REBOL Consultant!" :-)
I've been studying REBOL inside and out with the people who have
created it for well over 2 years full-time. I have written numerous
REBOL applications, bo
Thanks a million. Shortly after posting my question I figured out this
method:
either error? dump: try [read url ][bad: bad + 1] [ good: good + 1]
--
Dane Carlson
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 12:56
Subject: [RE
use 'try, as follows...
foreach url-to-read url-database [
if error? try [dump: read http://www.foobarfoo.com/][next url-database]
]
>If I attempt to read from a web page that does not exist, ie:
>
>dump: read http://www.foobarfoo.com/
>
>Rebol stops execution of the code and reports:
>
Mark,
I think the PARSE function is all you need. What
specifically are you trying to do with regexp? Are you
searching or validating input?
Regards,
David
--- [EMAIL PROTECTED] wrote:
> Hi everbody,
>
> this post is not of any urgency, rather Iam seeking
> enlightenment from list members ab
Greetings,
If I attempt to read from a web page that does not exist, ie:
dump: read http://www.foobarfoo.com/
Rebol stops execution of the code and reports:
** Access Error: Cannot connect to www.foobarfoo.com
** Where: open-proto
** Near: read http://www.foobarfoo.com
How do
> Dialecting is, frankly, the way of the future.
Or the way of the past, if you consider that the REBOL example of dialecting
look like examples from early 1980s Forth books :)
James
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject,
The really quick answer is "Use PARSE."
What docs/examples/demos have you looked at regarding parse?
What kind of an answer to this question are you looking for?
Parsing strings is the REBOL awy of doing regular expressions but
PARSE can also parse blocks which is your path to dialecting.
Dialec
Hi everbody,
this post is not of any urgency, rather Iam seeking enlightenment from list members
about the REBOL approach to regular expressions.
Regular expressions in Perl although powerful are mighty ugly and not at all
intuitive, what is the REBOL way / approach. Sure REBOL has tremendous
From: <[EMAIL PROTECTED]>
> >> message-block: copy []
> >> foreach file-name sort/reverse message-directory [
> >> file-contents: read file-name
> >> insert message-block file-contents
> >> ]
> >>
> >> sorting the message-directory before use, not the message-bloc
- Original Message -
From: "David Vydra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 7:56 PM
Subject: [REBOL] PARSE question
> We are parsing large files as blocks. If there is an
> error somewhere, how can we find out where the error
> was? Can we get a cou
I have to agree with Mark here. How am I supposed to
develop my apps without any R/View available?
David
--- [EMAIL PROTECTED] wrote:
> Brett,
>
> Iam most definately *NOT* trying to abuse licenses
> or steal anybodies intellectual property, rather be
> a good-community-member & help fellow REB
The functions submitted "work," but were designed to achieve different
outcomes. Scott's will sort the message according to contents, Anton's by
filename, and mine sorted by file date.
--Ryan
[EMAIL PROTECTED] wrote:
> >> message-block: copy []
> >> foreach file-name sort/reverse me
We are parsing large files as blocks. If there is an
error somewhere, how can we find out where the error
was? Can we get a count of items parsed correctly?
Thanks
dv
=
please reply to: [EMAIL PROTECTED]
__
Do You Yahoo!?
Get email at your ow
>> message-block: copy []
>> foreach file-name sort/reverse message-directory [
>> file-contents: read file-name
>> insert message-block file-contents
>> ]
>>
>> sorting the message-directory before use, not the message-block
>> with the contents of each file.
>
From: <[EMAIL PROTECTED]>
>
> Thanks, Anton. This is exactly what I needed to do.
>
> -Ryan
>
> --
>
> Ryan, you actually want:
>
> message-block: copy []
> foreach file-name sort/reverse message-directory [
> file-contents: read file-name
>
laplace,
Maybe you could try adding the lines:
echo %trace.txt
trace on
to your script. When it locks up, you can look and see what was
happening when the script locked up. This may point out a
potential problem.
Sterling pointed out a minor change in the way ports behave that
cause
Thanks, Anton. This is exactly what I needed to do.
-Ryan
--
Ryan, you actually want:
message-block: copy []
foreach file-name sort/reverse message-directory [
file-contents: read file-name
insert message-block file-contents
]
sor
>Although I haveĀ“nt tried it out yet: "This rocks! way to go Ryan!"
>now I might consider this or something like this over RSS
>or strange Java Portal-Servlet solutions.
Thanks!
Plans for the future:
Online documentation.
Support for the mysql:// protocol (save messages in a database instead
Within the week I've seen a near-total crystalization of the grand scheme of
REBOL, and I am impressed. The website is now far more clear about the
various products and the "problem space" addressed by each. The genius of
the technology now shines brightly. The prices seem quite reasonable. I'
Hello,
I have a program that downloads historical quotes from Yahoo. It freezes in
new 2.5 version and launch our Visual C debugger. Is there any change in
syntax that would explain that ?
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
sub
I didn't mean java is better than Rebol, if so I wouldn't go on with Rebol
:) I mean about Component concept, reusability with interface beetween
components and that works inside a browser (like flash for example). If you
want to offer an interactive chart for example , how would you do if you
don
that is a great idea... go ahead...
On Thu, 29 Mar 2001, Rob LaSalle wrote:
:)
:)--- Brett Handley <[EMAIL PROTECTED]> wrote:
:)> Hi RT Team
:)>
:)> > The REBOL team held a three hour meeting yesterday
:)> to discuss REBOL/View
:)> and its future. We came up with an excellent
:)> solution tha
22 matches
Mail list logo