M.. ok.
Scenario 1
Imagine a function f1 in a library of functions.
It needs to have a function f2 defined from
another library to work properly, but an older
version of f2 doesn't work, and f1 knows about that
incompatibility. How should it be specified that
the old version is no good and
Ok, to dig more into the guts of it, here's what
to do:
Make a new rebol script file, paste this into it:
rebol [
notes: {
write clipboard:// mold system/schemes/ftp/handler
}
]
system/schemes/ftp/handler:
--
Now use the notes
Hi Arie,
In order to serve the REBOL community best, I ask you to check my site for
correctness and completeness. If you think it's worthwile, please link to
my
site. Do not hesitate to comment, I am just a newbie :-)
I think it'll be a great resource. Thanks for taking the time to do it.
Anton:
In the errors handling document, I think you
should set people to use
set/any 'error try
rather than
error: try
because in some cases the second one leads to another
error. For a beginner that would be frustrating.
eg:
error: try [print ]
** Script
A perfect example! I caught some bugs in the last post.
You will notice I switched f1 and f2 after
Possible actions: :-/
But I was going to say, also that in Action D,
it is difficult to collect all the information
required to properly advise the user.
Which is the program that has this problem?
On 10-Nov-03, Brett Handley wrote:
Hi Carl,
Try one more quick test:
apply http://www.codeconscious.com/rebsite/rebol-library/patches.r
or just run the FTP part of it and see if that changes anything.
Made no difference I'm afraid. ):
BTW, what version of REBOL are you having the
I might just add a couple of points:
2. BE SEARCH-ENGINE FRIENDLY
Meta tags help you get into google.
Google does a scan for new pages about every month.
3. AIM FOR VALIDATED HTML
Keep it simple. I don't really care about all those
pretty colours and borders, just give me the information.
It could be that some code in %config.r,
erroneously unsets 'true. Unlikely, but
possible. :)
Anton.
Anton:
In the errors handling document, I think you
should set people to use
set/any 'error try
rather than
error: try
because in some cases the second one
Anton:
It could be that some code in %config.r,
erroneously unsets 'true. Unlikely, but
possible. :)
It's never easy getting that last 1% of industrial-strength error recovery,
is it?
They could, instead, unset 'set -- and that crashes the version of REBOL I'm
using, irrecoverably:
I wish I could enter foreign characters in REBOL/View fields under Linux :)
Carlos
* Native XML! data-type.
Anything else you'd want on your wish list for Rebol 3?
Andrew J Martin
Attendance Officer
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with
How can I control what port (on the client side) gets opened when connecting
to a TCP server? I know you can control which port on the server it
connects to, but not where it connects from.
Matt
_
MSN Shopping upgraded for the
Sparkle - I thought Rebol could take such position once more media
features added, now it seems even Flash will have difficult times:
http://www.theregister.co.uk/content/4/33869.html
-pekr-
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the
Hi, Andrew,
Thanks for starting what I hope will be a productive thread! Now,
speaking strictly for myself, little of my REBOL wish list is about
adding features to the language.
Andrew Martin wrote:
* Lots more datatypes! For example, a Telephone! data type, temperature,
audio/sound
Matt MacDonald wrote:
How can I control what port (on the client side) gets opened when connecting
to a TCP server? I know you can control which port on the server it
connects to, but not where it connects from.
Matt
_
MSN
http://slashdot.org/article.pl?sid=03/11/02/2159241
What is your opinion? Could our rebol apps be affected?
-pekr-
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.
I understand how to do that, but what I want to do is have the client
computer connect to a server port (in your case 9005) and also control what
port the client uses to make that connection. For instance say something
like:
server:
l: open tcp://:9005
s: first l
client:
c: open
* Regular Expressions as well as parse, which acts much like Perl's
regexp.
At the risk of sounding inconsistent, I believe that this one added
feature would do more to broaden REBOL's appeal than anything I've
seen on the list in a long time.
Yes
* Native XML! data-type.
My top XML
Wow, that's a cool feedback waiting to happen.
:)
Anton.
Anton:
It could be that some code in %config.r,
erroneously unsets 'true. Unlikely, but
possible. :)
It's never easy getting that last 1% of industrial-strength error
recovery,
is it?
They could, instead, unset 'set -- and
Mine are shriveling up already!
Anton.
http://slashdot.org/article.pl?sid=03/11/02/2159241
What is your opinion? Could our rebol apps be affected?
-pekr-
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.
Re: Re: Looking over the horizon - Rebol 3
(See at bottom)
Hi, Andrew,
Thanks for starting what I hope will be a productive thread! Now,
speaking strictly for myself, little of my REBOL wish list is about
adding features to the language.
Andrew Martin wrote:
* Lots more datatypes!
Anton:
Wow, that's a cool feedback waiting to happen.
:)
I've tried it, and it seems to have been fixed in the more recent betas. But
it still ends up with 'error being unset:
set/any 'error try [unset 'set]
if error? error [print whoops!]
** Script Error: error has no value
Amending my
Hi Petr,
PK http://slashdot.org/article.pl?sid=03/11/02/2159241
PK What is your opinion? Could our rebol apps be affected?
Doesn't sound like it. I couldn't get to the actual patent page, but
the comments about the abstract posted to /. make me think that only
certain types of apps written in
Andrew Martin
Anything else you'd want on your wish list for Rebol 3?
thanks for asking. Yes please:
-- Much deeper stack -- why not limited to available memory or user setting?
2000-odd just isn't enough for some algorithms.
-- Bignums -- they are in there somewhere, you see it on the
Andrew Martin
Anything else you'd want on your wish list for Rebol 3?
I would like my script to be able to obtain a list of all the words
that I created when I wrote the script. In other words, I myself know
what those words are because I wrote them, and the REBOL interpreter
knows, but I
Anybody else have any thoughts on this? Or is this an impossibility?
Matt
From: Matt MacDonald [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [REBOL] Re: Opening Specific Ports
Date: Mon, 10 Nov 2003 09:35:47 -0500
I understand how to do that, but what I want
Anton:
Meta tags help you get into google.
Meta tags have some use, but getting into search engines isn't one of them
these days. Some are useful in some ways:
meta http-equiv=Content-Type content=... -- names the encoding
meta name=Author content= -- vaguely useful documentation
* Steven White [EMAIL PROTECTED] [031110 09:43]:
Andrew Martin
Anything else you'd want on your wish list for Rebol 3?
Here's mine
1)Protect an object member.
2)Fix the binary 'skip bug.
3)Regex support
4)Optional module linkage.
Ex: Rebol is distributed with binary modules.
Along with item 4)
Make rebol compliant to compiled-in mods as do perl, python,
php etc. Kind of like a corrolary to 'encap.
Then rebol could be embedded in Apache or vim.
I've had to drop rebol for anything but ancillary utilities
for a very large project, because the customer wanted
Hi Steven,
Steven White wrote:
Andrew Martin
Anything else you'd want on your wish list for Rebol 3?
I would like my script to be able to obtain a list of all the words
that I created when I wrote the script.
...
Do you mean something like this?
query/clear system/words
== [end!
On Tue, 11 Nov 2003, Anton Rolls wrote:
Wow, that's a cool feedback waiting to happen.
:)
Anton.
Anton:
It could be that some code in %config.r,
erroneously unsets 'true. Unlikely, but
possible. :)
It's never easy getting that last 1% of industrial-strength error
On Mon, 10 Nov 2003, Matt MacDonald wrote:
Anybody else have any thoughts on this? Or is this an impossibility?
Matt
I will not claim impossibile, but can gaurentee it could not work in
some cases. specificaly when the client is already using the port you
specify.
From: Matt MacDonald
Hi Joel et al,
* Lots more datatypes! ...
JN ...in regard to data types: ... Fully document the existing ones.
I vote for this as well.
* A way to access words outside of the current context...
JN Could you give an example of what this means and how it would be
JN used/useful? I must
Tim Johnson wrote:
* Steven White [EMAIL PROTECTED] [031110 09:43]:
Andrew Martin
Anything else you'd want on your wish list for Rebol 3?
Here's mine
1)Protect an object member.
2)Fix the binary 'skip bug.
3)Regex support
4)Optional module linkage.
Ex: Rebol is
Thanks, Anton!
You wrote:
(A) f2 just tries to use whatever version of f1 is currently
installed.
I'd go for this option as it's the most simple option, in breaking as
soon as possible. The other options involve the higher level function
knowing too much about the lower level function.
The
[EMAIL PROTECTED] 11/10/03 01:23PM
I would like my script to be able to obtain a list of all the words
that I created when I wrote the script.
...
Do you mean something like this?
query/clear system/words
== [end! unset! error! datatype! context! native! action! routine! op!
I realize this, but I still need to know how to do it. I can handle any
conflicts that arise, I just need to know the code to make it happen.
Matt
-
On Mon, 10 Nov 2003, Matt MacDonald wrote:
Anybody else have any thoughts on this? Or is this an impossibility?
Matt
I will not
Hi Steven,
What Ingo suggested should work for you. See below.
-- Gregg
REBOL []
mark-my-words: context [
init: does [query/clear system/words]
dump: does [
print ['Word tab 'Type tab 'Value]
foreach word query system/words [
print
Am Montag, 10. November 2003 21:28 schrieb Andrew Martin:
Thanks, Anton!
You wrote:
(A) f2 just tries to use whatever version of f1 is currently
installed.
I'd go for this option as it's the most simple option, in breaking as
soon as possible. The other options involve the higher level
Carl Read wrote:
G!
G is right!
You were correct in that the error occurs in the parse-dir-list function in the
ftp protocol. The code closes the port/sub-port and then tries to use that
port/sub-port specification. Whoops!
The corrected function is as follows (as usual watch for
If Sunanda will allow me to steal his subject line... ;-)
The following 3-by-3 display is a simple magic square:
0 8 4
5 1 6
7 3 2
because each row and each column sums to 12. Write a function which
uses the integers 0 thru 8 (once each!) to construct all
Hi Scott,
Well done on isolating the error. I'm just wondering though if your
corrected function has the right logic.
The original function closes the port outside the IF block for IF empty?
file-list but you have moved it inside along with the lines starting
port/locals/dir-cache:
So I guess
mark-my=words/dump can fail in the (rare) case that a
word changed by being unset.
Anton.
Hi Steven,
What Ingo suggested should work for you. See below.
-- Gregg
REBOL []
mark-my-words: context [
init: does [query/clear system/words]
dump: does [
Thanks, Anton!
You wrote:
(A) f2 just tries to use whatever version of f1 is currently
installed.
I'd go for this option as it's the most simple option, in breaking as
soon as possible. The other options involve the higher level function
knowing too much about the lower level function.
The
I'm just having a little bit of trouble with tags, and
I can't find what I'm after in the docs.
I'm using the following expressions:
fp: []
text: This is text
append fp rejoin [tag text /tag]
The result is:
tagThis is text/tag
I wanted:
tagThis is text/tag
If I try:
append fp [tag text /tag]
Here's my Library loader script:
use [Patches Files Provided Do_Script Defer_Script Script Header
Requires Provides] [
do Patches: %Patches.r
Files: exclude read %./ reduce [Rebol/script/header/File
Patches]
Provided: make block! 100
Do_Script: [
I think I found where the missing bracket should be and solved my other
query about the logic change. Based on this I've made a patch based on
Scott's solution. It needs to be run before the FTP scheme is first used in
a REBOL session.
I've put it in
Hi Joel,
JN The following 3-by-3 display is a simple magic square:
JN 0 8 4
JN 5 1 6
JN 7 3 2
JN because each row and each column sums to 12. Write a function which
JN uses the integers 0 thru 8 (once each!) to construct all possible
JN 3-by-3 simple magic
Can anyone tell me how to add icons to REBOL.exe builds for windows platform. Also,
can we add icon sets? And do we need to include an icon for each support size before
it works?
Paul Tretter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
On Tue, 11 Nov 2003, [iso-8859-1] Ged Byrne wrote:
I'm just having a little bit of trouble with tags, and
I can't find what I'm after in the docs.
I'm using the following expressions:
fp: []
text: This is text
append fp rejoin [tag text /tag]
The result is:
tagThis is text/tag
I
On Mon, 10 Nov 2003, Gregg Irwin wrote:
Hi Joel,
JN The following 3-by-3 display is a simple magic square:
JN 0 8 4
JN 5 1 6
JN 7 3 2
JN because each row and each column sums to 12. Write a function which
JN uses the integers 0 thru 8 (once each!) to
I can see you are going to ask us to
generalize it later so it can do integers
higher than 8.
I think for this set of numbers 12 is the
only sum you will get, but just to be clear,
shouldn't it be: it's a magic square because
each row and column sum to the same number ?
Anton.
If Sunanda will
Has anyone had this crash before?
and what does it mean?
Crash! Root block overflow
The most recent dodgy thing I did was put a wait inside
an action block. I'm only waiting 1 second or so, though.
That's probably it actually.
I'll try make it using time events.
Anton.
--
To unsubscribe from
Andrew J Martin
Attendance Officer
Speaking in tongues and performing miracles.
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
Fax: 64-6-8336759
http://colenso.net/scripts/Wiki.r?AJM
http://www.colenso.school.nz/
DISCLAIMER: Colenso High School and its Board of Trustees
Sparkle - I thought Rebol could take such position once more media
features added, now it seems even Flash will have difficult times:
http://www.theregister.co.uk/content/4/33869.html
One of the nice things about Windows Longhorn and it's use of XML for user
interfaces, is that I can create
pekr wrote:
http://slashdot.org/article.pl?sid=03/11/02/2159241
What is your opinion? Could our rebol apps be affected?
Let's wait until Microsoft's lawyers have finished with first. :)
Andrew J Martin
Speaking in tongues and performing miracles.
ICQ: 26227169
http://www.rebol.it/Valley/
Thanks Anton!
AR mark-my=words/dump can fail in the (rare) case that a
AR word changed by being unset.
It was a quickie, but I'm glad to know of that problem because I may
just end up using it someday. :)
--Gregg
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with
Hi Paul,
PT Can anyone tell me how to add icons to REBOL.exe builds for
PT windows platform. Also, can we add icon sets? And do we
PT need to include an icon for each support size before it works?
Do you mean changing the icon in the EXE for encapped apps? If so, you
can do it with a tool
Hi Anton,
AR Has anyone had this crash before?
AR Crash! Root block overflow
Not me.
-- Gregg
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.
Can anyone tell me how to add icons to REBOL.exe builds for windows
platform. Also, can we add icon sets? And do we need to include an
icon for each support size before it works?
Download ResHacker from http://www.users.on.net/johnson/resourcehacker/
and use a line like the following in
- Original Message -
From: Ashley TrĂ¼ter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 10, 2003 10:56 PM
Subject: [REBOL] Re: Adding icons
Can anyone tell me how to add icons to REBOL.exe builds for windows
platform. Also, can we add icon sets? And do we need
Thanks Ashley and thanks Gregg. I have a bit more understanding now on
this. I think my problem was not using all 3 icons. Additionally, are
there any good programs for creating icon sets. I assume that these 3 icons
are part of a icon file that is a set.
Paul Tretter
- Original Message
Hi Matt,
first off I have to say I am not a network pro by any means,
but what I think I hear you saying you want to do,
sounds alot like the FTP protocal.
server listens
client connects ;this will be the control port
client opens local Port Of Choose ; say 8005
client
62 matches
Mail list logo