On 02-Aug-02, Charles wrote:
> Howdy folks. Got a bit of a difficulty here. Say I'm evaluating a
> for loop, like reading lines of text from a file. At the beginning
> of my for loop, I have it check to see if the line is commented,
> blank, or neither. If it's commented or blank, I want it to
Whoops, I missed an argument to 'loop:
for ... [
loop 1 [ ; only once
if condition [break]
; other code
]
]
Anton.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with
A trick I've used for "continue" is
to break out of a loop, like this:
for ... [
loop [
if condition [break] ; simulate "continue"
; other code
]
]
Anton.
>Howdy folks. Got a bit of a difficul
Hi,
> >telnet smtprelay.avnet.com:25
> >type:
> >EHLO your-client-url
> >and return and wait to see if amongst the return messages you see:
> >S: 250-AUTH=LOGIN
> >
> I'll try it, but I'm not sure what you mean by "your-client-url"? Do you
> mean the url of the box I'm trying to email from?
Argh. Not to be a complete dumbass, but I took a look at e-scribe for info
on the circular forwarding problem, and .. well, found a couple things, but
also a some successive posts that said it didn't work right. For instance, I
found these two:
http://www.escribe.com/internet/rebol/m10481.htm
Hey! Yet another question from me :)
How about this one. I have a tag, for instance:
>> imgtag:
To break it into its constituent parts, I do:
>> imgtag: parse imgtag {"}
== ["IMG" "SRC=" "../something/someimage.jpg"]
So I change imgtag/3 to something else, and I wish to rebuild th
Howdy folks. Got a bit of a difficulty here. Say I'm evaluating a for
loop, like reading lines of text from a file. At the beginning of my for loop,
I have it check to see if the line is commented, blank, or neither. If it's
commented or blank, I want it to just skip to the next iteration o
G. Scott Jones wrote:
>Hi, Ed,
>
>It is not obvious from what you wrote about. Additionally, the smtp server
>is not accessible from the Internet (or is not currently up) so I can't log
>on with telnet to confirm what I think may be happening. My guess (judging
>from info in your email header)
How do we get a pointer to the rebol window frame
buffer from rebol? I don't think there is a way
in rebol.
However, that sparks an idea. You can probably
open your own "windows" window, then you can find
the pointer to its frame buffer.
Anton.
> While we are on the subject of using Windows call
Hmm.. Kind of the crow-bar method, but is the only one I can think of as
well. Fah, silly Windows. ;) Thanks Anton, Paul. :)
> Sound like the script may be processing but might not have need to output to
> console. You could put a 'halt statement as the last line of the script
> your proce
Greetings Rebols:
I find that a quick way to test for the existance of a domain
is to do a read dns.
Example: read dns://johnsons-web.com
== 12.24.138.43
Are there any caveats to using this method?
FYI, I would be using this method to do a test on an email
While we are on the subject of using Windows calls to do fancy stuff . . .
anyone tried "wrapping" the DC (Device Context?), SetPixel and FreeDC
routines to enable direct pixel manipulation. I don't know enough about the
Windows API set myself but was told by a C programmer type that these three
From: "Dana, Ed"
> Last week, I had set REBOL up on an IBM/AIX Risc 6000. Everything seems to
> work fine, but email. I can read http addresses no problem, but when I
send
> an email, it times out.
>
> My user.r file appears to be set correctly, and we can send email from the
> box using other mea
Hi Greg,
At 01:07 PM 8/1/2002 -0600, you wrote:
>Hi Louis
>
><< How can I force rebol to treat strings from my multi-lingual word
>processor
>as strings? Rebol seems to be treating one of the multi-lingual characters
>as a quotation mark. >>
>
>Does your word processor save Unicode format?
No,
Gregg,
At 01:07 PM 8/1/2002 -0600, you wrote:
>Does your word processor save Unicode format?
Not unless I use Save as... (and I'm not).
>If so, that's probably the
>issue. REBOL doesn't do Unicode yet.
I know. I sure wish unicode was supported---it would really simplify my life.
>If that's n
Ahhh cool!
Paul Tretter
- Original Message -
From: "Gregg Irwin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 2:54 PM
Subject: [REBOL] Re: PC Uptime
> Hi Paul,
>
> This works on W2K. I think the behavior is different on different versions
> of Windows.
>
Hi Paul,
This works on W2K. I think the behavior is different on different versions
of Windows.
lib: load/library %kernel32.dll
beep: make routine! [
frequency [integer!]
duration [integer!]
return: [integer!]
] lib "Beep"
beep 500 1000
--Gregg
--
To unsubscribe from this list,
Heres a link to a url for creating a BEEP! However, I'm new to library
functions and havent yet got this one to work on win2k. Anyone else want to
try.
http://216.26.168.92/vbapi/ref/b/beep.html
Paul Tretter
- Original Message -
From: "Paul Tretter" <[EMAIL PROTECTED]>
To: <[EMAIL PRO
Sound like the script may be processing but might not have need to output to
console. You could put a 'halt statement as the last line of the script
your processing so that it ends with the console open. That way you can
scroll to see if any messages were printed in the console window.
Paul Tre
Good one Paul!
Often times, I'll use a routine name that emulates the API call and then
wrap functions around them that translate values to more rebol friendly
datatypes and values. E.g.
lib: load/library %kernel32.dll
get-tick-count: make routine! [return: [integer!]] lib "GetTickCount"
up-time
Hi Louis
<< How can I force rebol to treat strings from my multi-lingual word
processor
as strings? Rebol seems to be treating one of the multi-lingual characters
as a quotation mark. >>
Does your word processor save Unicode format? If so, that's probably the
issue. REBOL doesn't do Unicode yet
I have been playing more with /PRO. Gotta admit, it gives you quite a bit
more power than /core and /view. Here is a little PC Uptime monitor for you
/PRO users. Use at your own risk!
REBOL [
Title: "PC Uptime Monitor"
Author: "Paul Tretter"
]
libfile: %kernel32.dll
getcount: "GetTick
Just put halt at the end of your script
if you want it always to give you a prompt
afterwards.
Anton.
>Greetings folks. Here's my dillema.
>I have it set so when I double-click on a .r file, it
> automatically executes
> REBOL with that script - eg, e:\code\rebol\core\rebol.exe file.r
Last week, I had set REBOL up on an IBM/AIX Risc 6000. Everything seems to
work fine, but email. I can read http addresses no problem, but when I send
an email, it times out.
My user.r file appears to be set correctly, and we can send email from the
box using other means, so I'm not sure what's g
I think you are asking this question because
you really want to control the "read only"
file attribute flag.
In rebol, this is the 'owner-write file-mode.
Anton.
> >> get-modes %index.html 'file-modes
> == [creation-date access-date modification-date owner-write
> archived hidden
> system full-
I know that this is *insanely* late, but I just finally got around to this
message. (I've been deleting messages/threads I'm not interested in, and
saving interesting ones for later. Now happens to be later :P )
> >You don't need routines for that. REBOL can do that by itself,
> >and in a p
Greetings folks. Here's my dillema.
I have it set so when I double-click on a .r file, it automatically executes
REBOL with that script - eg, e:\code\rebol\core\rebol.exe file.r .. However,
something in my settings, I presume, dictates that, instead of the REBOL
console just staying open, i
Greetings: Thought y'all might be interested in this
http://www.csse.monash.edu.au/~pfh/circle/
Excellent slides presentation:
http://www.csse.monash.edu.au/~pfh/circle/talk.pdf
The Circle is a scalable decentralized peer to peer application. Which is quite
a mouthful. In English, what this me
> Robert, you could maybe include a link to a xhtml validator
> at the bottom of the generated page, if that's possible.
> Maybe you can POST it? I might have a look tomorrow.
The one and only html validator:
Welcome to the W3C HTML Validation Service; a free service that checks
documents like
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> On Behalf Of Anton
> Sent: Wednesday, July 31, 2002 9:22 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: ANN: make-doc-pro-104 released
> Hooray! Halt is now conditional on debug_mode ! :)
Hi, yep time will s
30 matches
Mail list logo