That looks OK.
Perhaps there's a problem with the code in the 'while.
Andrew Martin
Sleepy REBOL...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, 16 February 2000 4:09 AM
Subject: [REBOL] EOF?
Andrew wrote:
'head is also the name of word used a lot by REBOL. Have a look at the
source for 'append, and you will see why.
Jean wrote:
using a reserved word is not a good idea, right ?!
'head is not reserved. It can be replaced like virtually all words in REBOL.
It's just that a lot of
Jean wrote:
So if I use a block within a block I need reduce to tell rebol to evaluate
the embedded block.
But why do I need rejoin in this case ?
join "HTML" [reduce block1 "/HTML"]
also worked as I tried it.
Theoretically,
rejoin ["HTML" block1 "/HTML"]
should work,too. The
Nitish wrote:
I am interested in the dialect you have written...
There's a complete package, incorporating Robert Muench's enhancements from
this page:
http://openip.org/html/ow_overview.html
or directly from:
http://openip.org/html/rebol_html.zip
The first page has some
Those interested in new and unusual programming constructs, take a look at
R++ from ATT, where Bjarne Stroustrup, the inventor of C++, works. Here's
the link:
http://www.research.att.com/sw/tools/r++/
Quote
R++ extends the C++ language with a single new programming construct -- the
rule.
Matthew asked:
What is Rebol/view, and is there any sort of GUI dialect out there?
GUI dialect = REBOL/View
Asking and answering are simply the rearranging of words;
It's timing that is the most surprising of things!
- Tsai Chih Chung,
Shouts of Nothingness.
Andrew Martin
ICQ: 26227169
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, 19 February 2000 5:48 AM
Subject: [REBOL] Re: migration paths
Hello [EMAIL PROTECTED]!
On 17-Feb-00, you wrote:
b in X-SELMA: [REBOL] 107012 [EMAIL PROTECTED] wrote:
b My latest work on the
[EMAIL PROTECTED] wrote:
Subject: [REBOL] unsubsribe
NO MORE PLEASE 1
To unsubscribe from this list, simply send an email to this list with only
this:
unsubscribe
in the subject line.
To make sure of this, click this link:
[EMAIL
Try this:
write %foo.txt
{2-Feb-2000 1 2
1-Feb-2000 2 1
6-Feb-2000 3 5
24-Feb-2000 4 6}
Lines: read/lines %foo.txt
Block: make block! 100
foreach Line Lines [
append/only Block load Line
]
print mold Block
sort Block
print mold Block
delete %foo.txt
foreach Line Block [
Gabrielle wrote:
REBOL/View is more than just a GUI frontend to REBOL. You will be amazed
when you'll see it. :-)
kolla wrote:
This doesn't make sense to me.
Will it be like "something you run inside a window" like f.ex Oberon?
Or will it be integrated into the graphical environment of
gerry wrote:
Quote
Hi,all,
try following:
a: [ 1 2 3 4
5 6 7 8
]
b: c: copy []
foreach [d f] a [append b d append c f]
print b
result: 1 2 3 4 5 6 7 8
not 1 3 5 7
/Quote
b: copy []
== []
c: copy []
== []
foreach [d f] a [append b d append c f]
== [2 4 6 8]
print b
1 3 5 7
print c
Peter wrote:
I need to read a BIG text file line by line but I don't know exactly how
to do.
Use a port, Peter. Look in "Ports Access to Files", from the REBOL manual,
here:
users-guide\users\filports.html
Of course, your directories may vary, but there's a copy at the REBOL site.
You need to send the word:
unsubscribe
in the subject line in an email to this list.
Here's a helpful link:
[EMAIL PROTECTED]?subject=unsubscribe
or in REBOL:
send [EMAIL PROTECTED] {unsubscribe}
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
You need to send the word:
unsubscribe
in the subject line in an email to this list.
Here's a helpful link:
[EMAIL PROTECTED]?subject=unsubscribe
or in REBOL:
send [EMAIL PROTECTED] {unsubscribe}
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
Mauro wrote:
My question of the day is: what mechanism can be used to
(programmatically) test whether the execution of a Rebol script has been
successful or not?
S1: [print "This is S1" true]
== [print "This is S1" true]
do s1
This is S1
== true
S2: [print "This is S2" false]
== [print "This
ay wrote:
looking for a method to use texthtml.r to process several text files at
once...
Something like:
Files: [%file1.txt %file2.txt]
foreach File Files [
data: text-to-html/convert read file
write head change find file "." ".html" data
]
I hope that helps!
Andrew Martin
ICQ:
Caution!
REBOL currently doesn't deep copy derived objects with embedded objects in
them.
Your best bet is:
obj!: [a: "" b: ""]
obj: make object! obj!
t!: append copy/deep obj! [c: ""]
t: make object! t!
Extend: func [Base [block!] Extension [block!]] [
append copy/deep Base Extension
Bo wrote:
system/script/args is only for arguments passed with DO/ARGS.
system/options/args is for arguments passed from the command line.
Elan wrote:
Interesting enough, under Win95 system/script/args did contain the command
line args!
Actually, they both worked!
Bug in Windows version?
Or
It may help to write a little test program, like this:
write %trim.r {
{[
{rebol []
{write %text.txt mold system/script/args
{]
{}
and view the contents of %test.txt. Given the example of:
rebol -swq trim.r file1.in file2.out
I get:
"file1.in file2.out"
Volker asked:
Is there a shorter way to pass refinements?
for example
a: func[ /header][]
b: func[ /header][ either header [ a/header ][ a ]]
Yes. For example:
SNA_switch: function [
"Selects a choice and evaluates what follows it."
value "Value to search for."
cases [block!] "Block
t wrote:
I'm thinking that I can change the value of "file" conditionally..
if mail/to = "address@com" file: thisfile
would I put that in a block?
if address@com = mail/from [file: address_com_file]
where in the while loop would it go?
After this:
mail: import-email message: first
Eric wrote:
Rebol look like forth or I dream ?
Actually, more like LISP, but without the Lots of Irritating, Stupid
Parenthesis.
Actually, more like Forth, but easier to read.
Actually, more like C/C++, but I don't have to compile it to run it.
Actually, more like BASIC, as it's easier for
Alan wrote:
I'm fooling around with rebel/core and find the documentation skips around
a little to much for a bonehead like myself:
Forget all you thought you knew... :-) BTW, welcome to the list.
I want to try a simple procedure: open a file, find a text marker in that
file, and replace the
another_bob wrote:
What is the meaning of this error message?
How can I avoid it?
Invalid data type during recycle
** Press enter to quit.
It could be a bug. Send a copy of the script to the list. Or run the
feedback script.
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
TBrownell wrote:
That works great, but how about finding more than one word in the
string...eg. cat: ["fat cat" "furry feline"]
And what about "Rufus, he's a cool cat, man!" ? :-)
Does it apply to a cat or a human? :-)
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Eric wrote:
Out of curiosity, has anyone written any Rebol/Core code that will extract
the dimensions of JPEG, GIF, and PNG files? I know this is more the realm of
Rebol/View, but it would be useful for Rebol/Core CGI scripts too.
I believe there's a CGI script on REBOL.org, that generates gif
tim wrote:
I would like to open a text file.
like FILE *f = fopen("text.txt","w")
in C.
Then I would like to write text one string at a time.
Then close it.
f: open/new/write %test.txt
append f "Hello from Andrew!^/"
append f "Goodbye!^/"
close f
prin read %test.txt
Hello from
[EMAIL PROTECTED] wrote:
What is REBOL/View?
Something wonderful...
Is it a text editor built especially for REBOL?
No. That would be RIDE - REBOL Integrated Development Environment...
Andrew Martin
Going Dave...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Tim wrote:
Does rebol have a standard output handle like c?
Example : In "C" I can write something like this:
file://===
FILE* f;
IF write_to_file THEN
f = fopen("test.htm","w")
ELSE
f = stdout;
ENDIF
fprintf(f,"This could be
do %test.r
no server name, application run from console
** Script Error: fprint expected fp argument of type: file.
** Where: fprint fp "line one"
if not-equal?
type? fp
== port!
fprint: func [fp[file!] value[string!]]
port! = file!
== false
I hope that helps.
Andrew Martin
Awakening the
Hi!
To unsubscribe from the list, send an email with _only_ this:
unsubscribe
in the subject line. Or click on this link (in an advanced email
client):
[EMAIL PROTECTED]?subject=unsubscribe
Or run this rebol script:
[REBOL []
send [EMAIL PROTECTED]
Tim wrote:
How do I make a value global? That is, so that it can be "seen" by any
code in a file, include user-define functions?
Global_Value: 0
As simple as that.
I would also welcome advice as to the pro and cons of using globals, as
well as when best to use them, and what under
[EMAIL PROTECTED] wrote:
How is dialecting different from defining a new word in Forth? How does
this make REBOL better than any language which allows you to define new
words?
And Elan replied:
Dialecting goes beyond just extending REBOL's vocabulary. It permits you
to also define your own
Michael Jelinek wrote:
...I have noticed that loop indices are local to the loop block, and of
course function (dummy) arguments are local to the function...
It's revealing to look at the source of 'forall:
source forall
forall: func [
"Evaluates a block for every value in a series."
doug edmunds wrote:
I am stuck. I have followed along with the "Simple Database" contained in
the Rebol how-to.html file, but I can't manipulate the header object that
save/header load/header creates. I want to make changes and save the data
back, with the header intact.
This should work:
Martin Lindholm wrote:
I'm new at Rebol, and I would like to have some thoughts of mine
straighted out or confirmed:
Welcome to the list!
1. A Rebol script can be used to fetch data from a textfile and put the
data into a HTML template, thus creating an unique web page? In this way one
Elan wrote (in another thread):
Note that pick is safer, it will return none if parse returns none or if
parse returns an empty block, whereas first will fail with an error
exception in both cases.
'second, 'third and so on do the same as well as 'last. I'm of the opinion
that these functions
Larry asked:
How would I parse such that
ThisIsTheLine
would result in:
This Is The Line.
I know, it doesn't use 'parse, but this way was more obvious...
[
REBOL [
]
Line: "ThisIsTheLine"
Split: function [Line [string!]] [Result] [
Result: make string! 0
foreach C Line [
if
Gabriele wrote:
A C == #"Y"
A C == #"Z"
A ] [
Hmmm... this seems a bit crazy to me... ;-) What about:
if all [C #"A" C #"Z"] [ ... ]
Actually, I tried a approach very similar to that, but I seemed to get a
result that indicated that the comparison was case _insensitive_.
Actually, it was just my mistake. I was comparing single character long
strings. That comparison is case insensitive. Comparing charsets _is_ case
sensitive.
Andrew Martin
Stumbling over my C/C++ experience...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
- Original Message -
Hi!
To unsubscribe from the list, send an email with _only_ this:
unsubscribe
in the subject line. Or click on this link (in an advanced email
client):
[EMAIL PROTECTED]?subject=unsubscribe
Or run this rebol script:
[REBOL []
send [EMAIL PROTECTED]
Bo's new baby girl, our new little REBOL, has been named Tatiana, Tatiana
Lechnowsky. Wouldn't that be a beautiful name for the heroine in a Tolstoy
novel.
Congratulations and best wishes to Bo, Tatiana and the wife/mother (who
is?)!
Andrew Martin
ICQ: 26227169
Bob wrote:
... is it possible to create a Rebol webserver which executes Rebol
scripts?
Have a look at http://www.rebol.org
There's a rebol web server or two there. Plus there's a simple one in the
examples, I believe in the rebol site. There's also been other web servers
posted on this
Volker wrote:
Is it possible to access local vars from outside?
To view values for debugging?
I don't think so. But a function could be written to supply an object with
the function local arguments as member variables. The /local refinement is
removed as are the local arguments, so that a new
Just reply to this email, change the subject to just this:
UNSUBSCRIBE
and click "send". Big hint: Use copy and paste, so the spelling remains
correct. OK? Then you'll be unsubscribed from the list.
Andrew Martin
Scribe, scribe, scribe, scribe, scribe, scribe...
ICQ: 26227169
[EMAIL PROTECTED] wrote:
#1 Basically in a nutshell, what does Rebol/Command do?
Lots of stuff, Database interaction, Operating System access and
DLL/External code library access. But to know more you'll have to get
REBOL/Command from the very nice people at REBOL and read the users.html
Mike asked:
How would I sort to get name/ages in descending order by name?
Have a look at sersort.html in the Users guide. There's a nice little
tutorial in there that should help you a lot.
Andrew Martin
Who keeps his drool in a bucket...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
[EMAIL PROTECTED] wrote:
Mimetypes Built-in?
What do you all think of asking Rebol to put a mime type datatype into
REBOL along with the most common mime types? Here is a bit of code from
webserver.r:
err-num " " err/2 "^/Content-type: text/html^/^/"
That could be reduced, clarified, or
Just seeing if the list works.
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
There's a bug in the documentation or the implementation of 'wait. I believe
it was reported some time ago, but I can't yet recall when.
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Don Cox wrote:
Can anyone tell me if it is possible to do a slide show of a sequence of
JPGs (held on the server) by using View,...
Carl's slide show dialect can do this, I believe.
...and if so whether it can fade smoothly from one image to the next?
With adjustments to the dialect, I'm
Volker wrote:
...there is some need for namespaces (moduls)...
Arriving soon (along with other neat stuff) as mentioned on Ally list by
Carl some time ago.
Andrew Martin
Sign writer - works cheap!
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
I notice in the file HTML.r on the web section of rebol.org that there is
a line that reads:
include %Nest.r
I assume that Nest.r is necessary for this program to work, but I cannot
locate Nest.r on the web site. Can anyone steer me to this include file?
H, I must fix that some time.
But if I try using:
downloaddir: %/d/anti%20virus%20downloads/
== %/d/anti%20virus%20downloads/
secure [downloaddir allow]
** Script Error: Invalid argument: downloaddir.
** Where: secure [downloaddir allow]
it doesn't. Shouldn't either way work?
'secure doesn't evaluate the block
Hi, Volker.
Call me idiot, but I didn't understand what you're trying to say here:
do compose/deep[secure[(my-dir) allow]]
attention to the 'level in secure, this means, the compose is not
evaluatet!
you have to hack a bit more :)
source secure
secure: native [
{Specify security
Mike wrote:
Not sure what to say, Andrew. Don't take this personally but your
solutions didn't work whereas Volker's did.
I won't take it tooo personally. I can call my self an idiot for not
checking it? :-)
'source doesn't evaluate it's argument. I didn't check for that. :-(
source
Could we know when RT plans to release the next products, with all the
approximations, warnings, disclaimers and plain
don't-trust-this-dates-too-much granted?
Have a look on the Ally and Command lists. More details from Carl have been
published there.
Andrew Martin
Submerging...
ICQ: 26227169
I can't take credit for this function, but I've used it to "include"
several different scripts and use their functions:
include: func [files] [
either block? files [
forall files [do first files]
] [
do files
]
]
include %whatever.r
Many thanks to the
tj wrote:
What would be the preferred way to initialize a port prior to a possible
open?
would it best to be:
my-port: none
OR
my-port: []
This way:
my-port: none
or:
my-port: port!
This has the advantage of reminding the writer/maintainer as to what
type of
I want to pass all of the given refinements to another function.
There's a better way of doing this. Just 'append (you have to replace
'append with a better 'append, though) the refinements of the function to
the function as a path.
Like this:
; A replacement 'append function that doesn't
Yes. This is our "first wave" business direction. It's a fertile ground
that we think has great potential. It gives us the niche we need to build
our business, but gives us a lot of dynamic range to expand into other
markets as we succeed.
Besides, it gives all us REBOL folks, both you and
Daniel wrote:
Rebol : A Better Way to Deliver Marketing
Rebol : Building a better Internet channel between businesses and
customers
I don't have much understanding of business and marketing, but I think
it's pathetic you have to use those cheap formulas for a good product.
While innovative
[EMAIL PROTECTED] wrote:
But (unless I don't get it, here) this uses exactly what I am trying to
avoid using: an 'if statement for each possible refinement. I agree it's
easier and more straight forward, but it also creates more work to maintain
(such as when refinements are added to a
Michael Jelinek wrote:
door-man: make object! [
vocab1: "hello"
vocab2: "world"
speak: func [][say-greeting self]
]
say-greeting: func [idiot][
print [idiot/vocab1 idiot/vocab2]
]
door-man/speak
May be I'm missing something crucial, but wouldn't this be simpler:
Person: [
vocab1:
[EMAIL PROTECTED] wrote:
What you are missing is that I want the function element of door-man
(speak) to call a global function defined outside of the object to perform
the functionality.
I think your design needs better encapsulation. I prefer to have objects
which can act under their own
Michael Jelinek wrote (in refinements thread):
I really just want to separate the definition of the method (function
body) from the object, but I still want the method to be called as part of
the object. Some of these objects can be saved to a file and reloaded, and I
want the function "bound"
Ladislav wrote:
the solution was presented here some time ago. Can repost it.
I must have missed it. Please do so.
Thanks!
Andrew Martin
Full of curiosity...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
galt wrote:
Andrew, you play the fiddle? I didn't know that!
I love playing the fiddle, too! (although I seem
to spend more time playing with Rebol these days...)
Sorry, I meant fiddling as in playing or fooling around in REBOL.
:-)
Swaine in DDJ once mentioned that programmers have a
Swaine in DDJ once mentioned that programmers have a high correlation
with musicians. I wonder how much of a correlation there is with REBOL
scripters and musicians there are on this list?
I really connected with "C" with I found out that I could set the PC
speaker (8086 in 1989) to Concert
I am starting programming in Rebol and have the following problem:
I have a file with an email adress in the first line. How can I grab the
email adress and use it ?
[REBOL []
message: read %/F/Apfel.txt
file: read/lines %/F/Apfel.txt
to: load first file
header: make system/standard/email
Ryan Christiansen wrote:
I checked SourceForge and there isn't a single REBOL project listed.
I have started a project myself and I have a vision, but I'm not sure
whether SourceForge is the place to post it. Does anyone have plans for a
REBOL site where persons can work together on REBOL
Perhaps there is another file missing?
Yes, I just wonder whenever it stops? ;-) It's constant problem with
html.r. It should be packed together or just use header Needs: item pointing
to some url location (will work with /View only imho).
Ah, yes. The problems of out of date software and
Hi!
To unsubscribe from the list, send an email with _only_ this:
unsubscribe
in the subject line. Or click on this link (in an advanced email
client):
[EMAIL PROTECTED]?subject=unsubscribe
Or run this rebol script:
[REBOL []
send [EMAIL PROTECTED]
On 04-Giu-00, you wrote:
A to: load first file
I think it's not a good idea to use the word 'to here.
Agreed. My defence is the original script used 'to. :-)
Andrew Martin
Rapidly papering over the cracks...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
A.D.ing wrote:
How I can access the d:\autoexec.bat file?
print read %/d/autoexec.bat
The drive letter is like a higher level directory.
I hope that helps!
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
David Jacobs wrote:
Any takers out there?
Try approaching Allen K:
[EMAIL PROTECTED]
He's offline at the moment, but I'm fairly sure he's looking for work
like this.
I've CC him directly
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
- Original Message
Do we have a hint yet how much it is going to cost?
Surprise, surprise, AFAI /View's supposed to be completely free :-)
It's confirmed on the rebol web site too. :-)
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
A.D.ing wrote:
I put:
system/schemes/ftp/timeout: 300
but the timeout error appear at 30 sec.
What I do wrong?
I suspect you did nothing wrong. There could be a problem in Rebol's FTP
code, as this value appears to be unused?! or overwritten When I 'mold-ed
the FTP object, I could find
"Complexity is immediate, simplicity takes time" (quoted from a sign that
Dan has on his wall at REBOL. One of the earliest and best articulations of
the REBOL philosophy that struck me when I first got there..)
I heartily agree!
Andrew Martin
Taking my time...
ICQ: 26227169
Louis wrote:
I am using one frames based web site to tie several other web sites
together so as to be able to navigate through them as parts of a unified
body. The header frame has links to the various web sites which display in
the main frame.
This is working great except for one problem: a
Brett wrote:
It takes me awhile sometimes...
But can someone give me an example of how bind is useful please?
It's useful in dialects. Here's a quick example:
O: make object! [
f1: func [] []
f2: func [] []
set 'Dialect func [Dialect [block!]] [reduce bind Dialect 'f1]
]
B:
Here's a better example:
O: make object! [
[F1: func [] [print "I'm F1"]
[F2: func [] [print "And this is F2"]
[set 'Dialect func [Dialect [block!]] [reduce bind Dialect 'F1]
[]
B: [F1 F2 F1]
== [F1 F2 F1]
Dialect B
I'm F1
And this is F2
I'm F1
== [unset unset unset]
Andrew
:-)
It would be really, really nice if Rebol's Garbage Collector worked
properly.
:-(
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Galt wrote:
So, how do I have a sort of almost global variable in the sense that I can
set it and then have all these functions know about it without having to
pass the darn value all around to everyone of them? It gets tedious and one
hopes that an advanced language like Rebol might have some
set 'Dialect func [Dialect [block!]] [reduce bind Dialect 'f1]
Feel free to substitute 'do for 'reduce if you prefer one result to a
multiplicity of results.
Andrew Martin
Many to Many...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
b By the way, there is nothing about REBOL's GC problem that is
b inherent in its execution model. It can be fixed, and it can
b be avoided easily until it is fixed. As GC bugs go, I've seen
b much worse than that. I'd still like it fixed, though :(
Yup. I assume they have a very good
Think of a Rebol block as a data structure.
Another way perhaps better way is to think of it is as "many" instead of
"one".
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Larry wrote:
REBOL []
print {
Bug in optional args called from script.
If 123 is removed from the 6th call to f,
f is not called at all.
}
f: func [a [any-type!]][print "f got called"]
f
f
f
f
f
f 123
halt
Actually, there is no bug. Here's a console session:
f: func [a
Thorsten M wrote:
I am new to Rebol as well as to Network-Programming. I need to develop a
kind of Ping Tool to check which IP-adresses in our WAN are connected and
get the adresses returned.
1 Q. How can i ping via TCP/IP with REBOL?
2 Q. How can i retrieve the connected adresses?
Being
[EMAIL PROTECTED] wrote:
Brian pointed me to the goal directed programming (Andrew, you beast!...),
and I started to think about its feasibility in Rebol.
The first sign of the goal directed programming is Rebol Any function.
Can you enlighten us about goal directed programming? I'm
Mike Yaunish wrote:
Am I doing this correctly or is there another way to initialize the
"buried" variable?
You're doing it correctly. There's a problem with Rebol here, I believe.
Use blocks to store your object code, like this:
main!: [
name: "Mike"
sub: make object! [
name:
Try:
parse/all
Andrew Martin
No blank lines...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Thorsten M wrote:
I wanted to write "Remove empty lines" as subject for this and get kicked
off the list with a remark "Thanks for your visit". Think that should be
fixed!
The source for %selma.r seems to be of the wrong version, too. The selma
script that's sent in response to "selma-source"
Peter wrote:
Is there any way to accept cookies and then get the actual page that I am
looking for?
IIRC, there's cookie accepting scripts on http://www.rebol.org
I hope that helps.
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Allen wrote:
How often is it updated? Looks like its stuck on Friday June 30, 2000
1:22:25PM
I'm more concerned as to why the tree to the right, looks like a giant
snarling rat?
Andrew Martin
Rebol voyeur...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
But, now I'm confused. Why is that different to what I had? Or, why didn't
I get a new empty string each call previously?
It's one of the differences Rebol has with other languages. When you assign
a string to a word, like this:
s: ""
You're literally assigning 's to the string just
Looks like the webcam:
http://demo.rebol.net/webcam/
is still stuck.
Andrew Martin
Rebol rat catcher...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Deryk wrote:
If I declare a global variable in one script, then do another, is that
variable inherited by the done script?
Not exactly inherited, but it's able to be accessed in the 'do-ne script.
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--
Q. How can I turn this... ["this" "is" "a" "sample"]
Into this... [[this][is][a][sample]]
Test: "This is a sample"
== "This is a sample"
block: parse test ""
== ["This" "is" "a" "sample"]
r: copy []
== []
foreach string block [
[append/only r to block! to word! string
[]
== [[This]
Tim wrote:
I know that I can protect a value, so that it becomes a constant (sort
of).
BUT:
Can I protect the data type?
In other words, can I force a variable to retain a specific data type?
I'm very sure that's a no.
But with an object and using getter/setter functions, you can do this,
201 - 300 of 529 matches
Mail list logo