- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 21, 2000 12:32 PM
Subject: [REBOL] passing argument to a script
> how do i retrieve an argument from a script which is called from a
command
> line. for example, pick one of the one-line exampl
how do i retrieve an argument from a script which is called from a command
line. for example, pick one of the one-line examples for ftp'ing a file. I'd
like to call it from a shell like "rebol ftp.r afile"
Hi Rebols,
I have gathered together some of the wisdom from the ally list into a
FAQ for Rebol/view beta 4.1
Hope you find something useful in it.
REBOL []
browse http://www.janita.com.au/rebolforces/reb/view-faq.html
Cheers,
Allen K
Hi tZ
>> a: "helloworld"
== "helloworld"
>> found? find a "hello"
== true
>>help find ; for more info
-Larry
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 20, 2000 3:24 PM
Subject: [REBOL] how to do the string comparison
> Hello,
>
> C
Hi Petr
> > In December 99, I ran a lot of timings for linear algebra operations in
> > REBOL, for instance matrix multiplication, matrix inversion, LU
> > decomposition, etc. on 100x100 randomly generated matrices. The bottom
line
> > was that REBOL was about 80-300 times slower than MATLAB whi
Hello,
Can anyone help me on the following problem?
How can I detect a string which is a part of another string?
e.g, a: "helloworld"
b: "hello"
How can i tell b is part of a?
Thanks a lot.
tZ
[EMAIL PROTECTED] wrote:
> Hello, I have a rebol script process a specific file. How can I add code to make
> it process all the files in the directory?
>
> I tried to change the following line
> FileStream: read/lines %files1.txt
> to
> FileStream: read/lines %mydir/*.txt
dir: read %m
[EMAIL PROTECTED] wrote:
> Although I currently don't have the need to do this, I
> am wondering how best to perform a /Command function
> from /View.
Hmm, as /Command functionality is something we will be probably pay some
money for, the question is just reverse - how to get /View functionali
Hello, I have a rebol script process a specific file. How can I add code to make
it process all the files in the directory?
I tried to change the following line
FileStream: read/lines %files1.txt
to
FileStream: read/lines %mydir/*.txt
But it didn't work.
Any quick fix for this script?
> My guess is that REBOL is a (nearly) pure interpreter, so no "compiling" to
> byte-code or equivalent is involved.
Would it be even possible to even partially compile rebol? I know there was
Joe's Marshall Sherman, but it was for REBOL 1.x family ...
> LOOP is the fastest method, closely follo
Although I currently don't have the need to do this, I
am wondering how best to perform a /Command function
from /View. For instance, let's say I have a /View app
that is working great but I really need the Win32 version
to access the Registry when an edit box is filled.
No problem - just use /
Excellent Larry - thanks for the explanations (although
the GetSystemTime() vs. time() one still baffles me - I'll
dig into the assembly code when I get some time).
It's good to know that Rebol is probably a (nearly) pure
interpreter especially when dealing with loop calculations.
The fact that
Hi Rodney
I found your test results interesting.
> I don't quite understand a couple of things. The first is how
> GetSystemTime() can be faster than time() (since it is splitting
> out all the fields year, day, etc.). The second is why it takes
> Rebol so long. I of course would expect Rebol
Regarding timestamp - of course it would be possible to create
your own timestamp string from the pieces you want but maybe
a new refinement on either the time or date value or 'now function
could be created. Call it /nonano to retrieve the classic time/date
stamp. Just a thought.
Regarding the
I thought using a counting expression would be a simple way to benchmark a
system. My results are disturbing, however. Consider my original expression:
forever [ t: now
c: 1
while [ now = t ][ c: c + 1 ]
print c
c: copy []
]
Here are the r
This is the best comparison of Rebol to another language!
Will it get turned into a webpage, so it can be put on
the www.rebol.org links page?
>
>JB, you may not be familiar with REBOL history, but the 1.x
>versions of REBOL were based on Scheme semantics. REBOL was
>much slower back then, and ha
once read the doc regarding port access to file
remember the /direct refine works somewhat like tape without rewind.
it point to the bigining when open, then move forward when 'write (in
your case)
i think it behave this way cause there's no buffer avail
yet you could use 'skip to locate the poin
thanks. understand by 'stylize your able to stylize the sub-face
(face in pane?). not sure if it's capable of affect main face, which
created by 'layout?
events will be passed from main face to sub-face, yet it could be
neat (sometimes) to trap/process the event in the main. i am trying
to add hot
FINALLY!!!
No matter what I tried I could not get the "send"
command to work on my NT4/IIS3.0 via a certain cgi
script. If I called a basic "send" script on its own
via cgi it worked fine, the console worked
fine...EVERYTHING WAS WORKING FINE... except the
script I NEEDED to work.
Here's what h
hoho it doesn't complain now
...yet my 'feel is bugged...got something to do
thanks, Larry
-z
--- [EMAIL PROTECTED] wrote:
> Hi z
>
> Try
>
> >> view layout/parent ..
>
> The name was changed from style to parent in Viewbeta 4.1.
>
> -Larry
>
> - Original Message -
> From: <[
You are correct... that what all those bits for subseconds are hanging around for.
It's supposed to be part of REBOL/Core.
But, it would also create the problem of NOW returning that many digits. Do you want
your email to be timestamped: 20-June-2000/7:35:42.532654-7:00. Maybe.
Also, WRT ca
Yes, there are some recycling issues that we are addressing at this very moment. Will
keep you posted.
-Carl
At 6/19/00 08:56 PM -0400, you wrote:
>
>
>
>Goal, Mt. GigaJunk, a gigabyte of junk.
>
>just as before, having given up on open/binary/direct followed by insert tail,
>I am using writ
[EMAIL PROTECTED] wrote:
> Is there a way to read the HTTP header content when using "read
>http://somewhere.com"? I'm testing an embedded web server and need to know all
>content that is being retrieved.
http://www.rebol.com/howto.html#tcp.html
Cheers,
-pekr-
>
>
> Thanks.
>
> --== Sent v
Is there a way to read the HTTP header content when using "read http://somewhere.com"?
I'm testing an embedded web server and need to know all content that is being
retrieved.
Thanks.
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.
I think you can't, but you don't have to
care about OS assigned ports, you can put and get data
from your 'z port, see how-to
karol
[EMAIL PROTECTED] wrote:
> As an addition to this message, how would one do the following?
>
> When one connects to a remote IP address, we get a local port numb
25 matches
Mail list logo