Reply to self,
The following code (on windows) seems to do the trick:
request-dir: function [path] [where lst] [
view center-face layout [
where: info 300 form path
lst: text-list 300x200 data insert remove-each file read path [not dir?
path/:file] %../ [
Moral of the story => TETOAYTM
[The war song of LINGO programmers: "Test Early Test Often On All Your Target
Machines"]
So folks, I have been struggling for days unsuccessfully to get rebol file
upload over http working. And even with lots help from Andreas and everyone
[thanks!]... it has not be
Hello Anton,
Monday, September 2, 2002, 9:49:22 PM, you wrote:
A> Oldes...
>> me too:-)) I'm now working on a Flash visualization as well:
>> http://oldes.multimedia.cz/ipatlas/ipatlas.html
>>
>> --
>> >>do [send to-email join 'oliva [EMAIL PROTECTED] "BESsssT
>> REgArrrD, RebOldes"]
A>
While request-file uses the native file selector (at least on Windows that
is), this doesn't let you select a directory. Anyone written a simple
request-dir function yet?
Regards,
Ashley
*Privacy, Confidentiality & Liability Notice
This email is intended for t
Oldes, be sure to also put a link to this one
in your rebol program, so it will live forever
in my rebol public cache... :)
-Anton.
> me too:-)) I'm now working on a Flash visualization as well:
> http://oldes.multimedia.cz/ipatlas/ipatlas.html
> REgArrrD, RebOldes"]
--
To unsubscribe from
Oldes...
> me too:-)) I'm now working on a Flash visualization as well:
> http://oldes.multimedia.cz/ipatlas/ipatlas.html
>
> --
> >>do [send to-email join 'oliva [EMAIL PROTECTED] "BESsssT
> REgArrrD, RebOldes"]
Cool, all those ip's - where did you get them, I ask.
I guessed that you are
I'm glad you guys are sorting all this
stuff out, because I don't know what you
are on about half the time. :)
You have encouraged me to learn something
new for today - that is using do/next.
I never really looked into it before.
Probably because I couldn't think of a use
for it.
Anyway, for othe
Hello Anton,
Saturday, August 31, 2002, 5:38:04 PM, you wrote:
A> Great! I wanted to do this one day.
A> You beat me to it. :)
A> Anton.
me too:-)) I'm now working on a Flash visualization as well:
http://oldes.multimedia.cz/ipatlas/ipatlas.html
--
>>do [send to-email join 'oliva [EMAIL PROT
What is returned here?:
clean-path %/lp/
Anton.
> > Hmm... are you talking about SYSTEM/SCRIPT/PATH?
>
> It seems to me pretty good, even if it does not work as we wish
> with Amiga's
> Logical Device (assignment).
> change-dir %/lp/, where LP is the name of Logical Device obtained w
Hello Alan,
Saturday, August 31, 2002, 6:14:07 PM, you wrote:
AC> At 03:24 PM 8/31/02 +0200, you wrote:
>>Hello rebol-list,
>>
>> just to let you know that I've just uploaded Rebol version of
>> IP-atlas. You may find it here:
>> do load-thru http://oldes.multimedia.cz/utils/ip-atlas.r
>>
Hi Ladislav,
> 1a) THROW. My DEFAULT2 function "works" as follows:
>
> default2/good [1 2 throw first block2 3] ["caught"] ["passed"]
> ** Throw Error: ** Script Error: Out of range or past end
> ** Near: first []
>
> i.e. it isn't able to catch this kind of error. The ISR? function seems to
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> On Behalf Of Petr Krenzelok
> Sent: Sunday, September 01, 2002 8:25 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: RFC: Rebol Framework
> I don't want to sound negative, but GUI part is imo least important.
Hi Romano,
<>
...
I also was experimenting with do/next and this is my code. It try to handle
also return, throw, break.
isr?: function [blk [block!]][res][
while [not tail? blk][
either error? try [
error? catch [
error? do does [
error? loop 1 [
error? set 'res do/next com
Hi Ladislav and all,
>, I was wrong. Here is a (complicated, but working) version of the DEFAULT
>function, that can handle it:
I also was experimenting with do/next and this is my code. It try to handle
also return, throw, break.
isr?: function [blk [block!]][res][
while [not tail? blk][
ei
From: "Holzammer, Jean"
> a: {assas href="http://www.ann.lu"; dfdfdf src="http://bla.org"; fdfdf}
> parse/all a [any [ [[thru {href="}] | [thru {src="}]] copy text to {"}
> (print text)]]
> parse/all a [any [ [[thru {href="}] | [thru {src="}]] position1: to {"}
> position2: (change/part position1
Here's what Jean wrote (with a lot more spacing to make it easier to see
what's going on):
[
Rebol []
a: {assas href="http://www.ann.lu"; dfdfdf src="http://bla.org"; fdfdf}
print "Parse 1"
parse/all a [
any [
[
[
thru {href="}
]
Correction, I posted a wrong version, so once again:
do http://www.rebolforces.com/~ladislav/highfun.r
default2: transp-func [
code [block!]
fault [block!]
/good pass [block!]
/local result error code2
] [
transp-while [not tail? code] [
Hi Gabriele, Romano, myself and others,
when I said:
<>
IS-REALLY-ERROR? function works for simple code like above, but, AFAIK, we
cannot handle all possible cases, like e.g.:
is-really-error? [1 first block2] ; == true
(until errors will be "first class")"
<>
, I was wrong. Here is a
On 02-Sep-02, Gregg Irwin wrote:
> << Last night I looked at the raw binary on a couple of fonts. The
> name is in
> there, but I wasn't readily able to identify a constant location nor
> a bracketing pair of words or symbols that would make parsing easy.
> (It wasn't obvious *to me*, at least.) >
Hi,
I try to replace all href and src assignments in a html document by my own
using the parse function.
Here are my attempts (step by step) so far. Look at the one but last
function call. It seems the parser is not at the right position after
replacing the first url. I expected it to replace al
Hi Romano,
no objection to your analyse. The fact, that the expression (first block2)
is illegal, while (error? first block2) isn't justifies my POV, that this
behaviour is a Rebol quirk. I want the interpreter/language to be less
aggressive (and faster and simpler and logical ...).
I am saying
21 matches
Mail list logo