I built a graphics library, which I use for
many scripts on my rebsite "Anton".
http://anton.idatam.com.au/rebol/library/graphics.r
It contains a BAR function and others (line, ellipse
etc). It may be useful.
(I thought I had a nice fill function somewhere).
Someone else was making a nice graph
Both of you: masking your great programming skill
in a shell of humility. :)
- Anton.
> BH> Ooo. I don't know how Gabriele feels about his code being
> BH> melded to my monster, but the result looks pretty good. :)
>
> You really think my code's any better? ;-)
>
> Regards,
> Gabriele.
--
Yes, it is a shame about the keyboard events.
I noticed Solaris didn't seem to pick up the
control/shift keys at all, if pressed by themselves,
but I didn't analyse too much.
Doesn't matter, there are plenty other things to work
on for the moment. :)
Anton.
> BTW I tried to use SHIFT and CTRL ke
I created a view layout with a button that does a ftp upload.
When I press the button a "busy indicator" icon ([R]) flashes in a
corner, but sometimes it stays there. What can I do?
Daniel
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
su
Hi Romano,
Thanks for your post. It is a good demonstration of how a problem can often
be thought about differently and therefore solved. Something important to
keep in mind with creating parse rules.
Something to think about regarding your solution is the ways that it is not
equivalent to mine.
Hi Paul,
Using load affects system/words no matter what happens after you have used
it. So making an object after using load does not change anything as far as
I know.
Brett.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, withou
Hi Brett,
why not:
rule: [any ['| (print "***") opt rule | set item word! (print mold
item)]]
parse my-block rule
this, by design, return true also for a void block.
---
Ciao
Romano
- Original Message -
From: "Brett Handley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Fri
what would happen if you use LOAD to an object such as:
some-obj: context [locals: load [...some stuff..]]
Paul Tretter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Brett Handley
Sent: Thursday, November 29, 2001 7:26 PM
To: [EMAIL PROTECTED]
Subject
Hi Romano,
> it was time that i asked to me what as-is is used for.
>
> Has it others uses?
I suspect not. Have a look at the first line of the code that is printed by
executing this:
layout [t: label "test"]
print mold t/init
Brett
--
To unsubscribe from this list, please send an
Hi Colin,
> But using 'load at all introduces a subtle problem. Each 'load of a
raw-input
> string potentially adds entries to System/Words. When that reaches about
> 4000, the system crashes. Unrecoverably.
>
> Which means the code above can't be 24x7 on a server. And it won't last
more
> than
Hi, Colin
> That doesn't shut the console down, but a canadian or UK postcode will
raise
> an error:
>
>raw-input: "W1A 4AA "
>date? cleaned-input: first load/all raw-input
>
> ** Syntax Error: Invalid integer -- 4AA
> ** Near: (line 1) W1A 4AA
The point is that 4AA is interpreted li
Hi Brett,
it was time that i asked to me what as-is is used for.
Has it others uses?
Thanks!
---
Ciao
Romano
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
Hi Donald, Gregg,
There is a keyword you can use - "as-is".
See this:
view layout [label as-is {on^/two lines}]
HTH
Brett.
- Original Message -
From: "Gregg Irwin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 11:47 AM
Subject: [REBOL] Re: Label text
Hi Peter,
> Any suggestions on how to make a parse rule for text
> NOT including a special pattern?
>
>Crystal clear?!?
Somewhat. It would be better to provide an example, because now I have to
show the solution *and* design an example :)
I have come across this sort of problem a few times and
Hi Donald,
<< Is there a way to control whether a label's text, if more than one word,
is
on one or two lines?
I have a two-word label name that should be on two lines, but the interface
wants to use one line. >>
If you're using 'text for the label, it seems to ignore newlines. I suppose
you co
Hi Romano,
Thanks for the detailed response...
> A string is like source code for Rebol. It must be compiled (loaded) and
> then
> run (interpreted). A block is like compiled code: it must only be run
> (interpreted).
> If the overhead is not a problem, you can compile your C code every time
Hi all.
Romano, in his response to me about strings and blocks reminded me of some
pain I'd had trying to use 'load as a validation tool.
Can I lay out what I see as then problems, and maybe the gurus can tell me
what I'm missing? Thanks
I have a raw string entered by a user:
raw-inp
Hi, REBOLs:
Is there a way to control whether a label's text, if more than one word, is
on one or two lines?
I have a two-word label name that should be on two lines, but the interface
wants to use one line.
Donald Dalley
--
To unsubscribe from this list, please send an email to
[EMAIL PROTEC
Hi, Mario:
Yes, I was thinking of YAM.
If the URL doesn't start with a "/", it doesn't seem to be much of an
exception, though.
Donald
- Original Message -
From: "Cassani Mario" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 4:04 AM
Subject: [REBOL] Re: P
Hi,
I finally got around to downloading a nontimedout version
to run REBOL/View on my IRIX machines again...;^)
...which works fine. But, I set up an alias to start View
that kicks it into backgroud so the shell I start it in
doesn't freeze. Only problem there is when you select Console
and the
ANN: Rebol/Flash dialect updated
... finally I've compressed all files (25) and uploaded them to other place:
http://oldes.multimedia.cz/download/swf-lab.zip
Oldes
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with
ANN: Rebol/Flash dialect not updated
ach... I have problem with the FTP server so I will upload it later :-(
Oldes
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
This is because 98 and 2K work differently than 95 and NT. M$
decided with 98 that when a window gets focus, if its not the
active application, it should just do funny stuff with your
task button instead. Complain to M$, I think the have a
special place for such things on one of their AS/400's.
ANN: Rebol/Flash dialect updated
Hi there,
this is just to let you know, that I've updated some of the files related to
Rebol/Flash dialect...
The main thing is, that I can draw lines and curves in the shape tag now.
I've uploaded also some
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Maarten Koopmans
> Sent: Wednesday, November 28, 2001 10:18 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Preprocessor & RIP Questions
> On the reb is a script called build-pack.r by Carl which may
Hi,
> I dunno, this sort of thing is a matter of taste as much as
> anything,
Yes, but it is almost like the difference between compiled / not compiled
code.
A string is like source code for Rebol. It must be compiled (loaded) and then
run (interpreted). A block is like compiled code: it must on
Hi Ladislav,
> Although my Convert-word function (can be found in
> http://www.sweb.cz/LMecir/contexts.html ) does preserve the context when it
> converts a word to another datatype, I would prefer a refinement for the To
I know. The limit is bind which does not bind to any but word! datatype!
I
Hallo Peter,
> Any suggestions on how to make a parse rule for text
> NOT including a special pattern?
'parse returns 'true or 'false if the rule is or isn't
matched so, if you make a rule to check if the pattern
exists:
not parse given-text pattern-rule
will be 'true if the pattern is not
Hello!
Any suggestions on how to make a parse rule for text
NOT including a special pattern?
Crystal clear?!?
Best regards,
Peter Carlsson
Peter CarlssonTel: +46 31 735 45 26
Saab Ericsson Space AB
I am using REBOL/View 1.2.1.3.1.
And from the console I type "upgrade", but the response was
===
You are running an unknown version of REBOL.
===
is there any problem with View or Console?
YekSoon
-- Attached file included as plaintext by Listar --
---
Outgoing mail is certified Virus Free.
- Original Message -
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 8:17 PM
Subject: [REBOL] RIM OS differences
>
> RIM grabs focus on NT when a new message appears, but
> Ladislav tells me that under W2k, it just changes the icon
> c
Petr Krenzelok wrote:
> eh, where is gui? :-)
C'mon, build it a the console and make it fly on the network! ;-)
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/
--
To unsubscribe from
Maarten Koopmans wrote:
> To Gabriele, this is a start?
It looks like it is. :-)
Now maybe I should write a document about my ideas and see how
many implementations we can get from the REBelopers. ;-)
(And if I'll find some free time, I want to partecipate with my
own implementation, too!)
BT
Thanks again Romano,
> things are more simple of what you think. I have only removed the string and
> the function and (almost) everything works as you want.
> The only differences are:
I appreciate the effort you and all the others have taken to show me the
error of my ways.
I've reworked
Andrew Martin writes:
> This way you avoid Rebol having to repeatedly parse the string. Instead you
> work directly with Rebol values, and avoid having to use special syntax in
> your rules.
>
> I hope that helps!
>
It does indeed.
Thanks again to everyone for the education and training,
C
RIM grabs focus on NT when a new message appears, but
Ladislav tells me that under W2k, it just changes the icon
colour in the task bar.
--
Graham Chiu
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
Hello Reichart,
Although I'm not running on Linux I believe my little "quick-font-hack"
function will help you ;)
put this function in your user.r (watch out line breaks):
---snip---
set-default-font: func [
"sets default font for /View"
font-blk [block
Hi,
<>
(...)
Another problem is that zz: will be a global word; to-set-word changes the
binding of the word and transform it in a global word. If zz: must be local
the code requires some little changes.
(...)
<>
Although my Convert-word function (can be found in
http://www.sweb.cz/LMecir/context
38 matches
Mail list logo