The pipe "trick" may only work under NT and 2000. It also works under Win98
using ksh (part of Uwin).
Ira
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Mon, 21 Feb 2000 1:36:08 -0600
To: [EMAIL PROTECTED]
Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(3)
Warped
Anyone written a script to convert unix timestamps (is 950618412) to
a usable rebol date and time format.
Cheers
Francois
Hello all...
I'm having this problem: I can access my e-mail server without a proxy server, but if
i try to access it with the
"help" of my proxy server then i can't reach it (it is not the objective of the proxy
server). But if I want to
access web pages, the only way to do that is using the
Anyone written a script to convert unix timestamps (is 950618412) to
a usable rebol date and time format.
Cheers
Francois
Hi Francois:
Try this.
REBOL [
Title: "Convert Epoch Time to Date"
Author: "Ralph Roberts"
File: %epoch-to-date.r
Date:
Anyone written a script to convert unix timestamps (is 950618412) to
a usable rebol date and time format.
Cheers
Francois
And to do it the other way around, i.e. generate an Epoch date:
REBOL[
]
date: now
seconds: ((date - 1-1-1970) * 86400) + (date/time/hour * 3600) +
I've loaded well over 100,000 records (about 100 char in length) via
read/lines - probably more like 350,000. The biggest thing to watch out for
is that REBOL will use about twice as much memory as the disk file size to
store it in a block.
- Michael Jelinek
-Original Message-
From:
I create a "wrapper" function around the make object! declaration to create
an instance of the "class", then call this wrapper function explicitly when
I want a new instance. This wrapper function does the initialization and
such of a constructor. If you cared, you could also write a function for
Hello ,
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
Hello [EMAIL PROTECTED]!
On 20-Feb-00, you wrote:
s So It's a bug IMHO.
You can fix it by yourself. Just add the THROW attribute:
forall: func [
["Evaluates a block for every value in a series." [throw]
['word [word!] {Word set to each position in series and changed as a
Hello [EMAIL PROTECTED]!
On 20-Feb-00, you wrote:
s tmp: load system/options/cgi/content-length
s buffer: make string! (tmp + 10)
s read-io system/ports/input buffer tmp
AFAIK this could not read all the data. I think it's better to use
something like:
while [tmp 0] [tmp: tmp - read-io
Howdy Matos:
You can specify a proxy for each individual protocol. I
believe the following should work for you:
(In your user.r, or at the top of your script:)
set-net [[EMAIL PROTECTED] mail.host.dom]
system/schemes/http/proxy/host: "your.proxy.host"
Hi Martin,
constructors are easily done.
a: [
[print "hey, I'm new here ..."
[b: 3
[]
b: make object! a
hey, I'm new here ...
I have no idea on destructors, though ...
regards,
Ingo
Those were the words of [EMAIL PROTECTED]:
Since I've programmed sometime i C++
Hi Robert,
Danke! I must have missed your answer before...
Well, setting environment variables would have been what I really need.
Does anybody else know if it's possible?
Tom
P.S.: If Rebol can't do this, any suggestions for another language that
provides an easy way to set environment
Hi Martin,
re: destructors:
Note that REBOL has automatic garbage collection.
This means that the memory that was allocated by an object programmatically
during its creation processor or subsequently will be automatically
released when the object is destroyed.
In contrast, programming
; please run this and comment as you will :-)
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 and improve
granted,
15 matches
Mail list logo