[REBOL] Aliens Are Among Us Re:(2)

1999-09-25 Thread Al . Bri
Ralph wrote: in the meantime, try http://216.122.85.130/alien/index.html That works! ^_^ Hmmm, I must get my version, based on MegaTraveller, going. [Rummages around HDD...] Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Parse Question: Why Doesn't This Work? Re:

1999-09-28 Thread Al . Bri
EAT wrote: Here's the question. Why does the above only find and append to full-contents lines with "=== " and completely ignore lines with "--- "? ^_^ Because that's the way you wrote it? headrule: [ some [ [

[REBOL] Parse Question: Why Doesn't This Work? Re:(2)

1999-09-28 Thread Al . Bri
EAT, I think this is what you need: headrule: [ some [ thru "=== " copy head to newline ( append head " (FIRST LEVEL)" append full-contents head ) | thru "--- " copy head to newline (

[REBOL] Parse Question: Why Doesn't This Work? Re:(10)

1999-09-29 Thread Al . Bri
Have a nice day/night/evening/morning! Considering the 'random/seed help' thread: Is this a path? ;-) If so the order confuses me a little... It's function refinements... ^_^ And morning! is a new datatype? Just different dialects for the 'net and rebol. ^_^ Andrew

[REBOL] winsock ports Re:

1999-10-06 Thread Al . Bri
There's an example of how to use ports on the http:www.rebol.com site, in the examples section, I believe. Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! -- -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL] winsock ports

[REBOL] Constructor semantics? Re:(11)

1999-10-06 Thread Al . Bri
Sounds like Robert's all ready written %Page.r ^_^ foreach page MyPages [ page/Create ] Andrew Martin Who's been really lazy lately... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] system call? how? Re:(3)

1999-10-09 Thread Al . Bri
write %//prn join "Now is the winter of our discontent, made glorious by this son of york!" "^L" I got my "/" in the wrong place! ^_^ Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] upgrade error Re:

1999-10-09 Thread Al . Bri
I've got a similar problem: upgrade connecting to: www.rebol.com ** Syntax Error: Missing ] at end-of-script. ** Where: (line 451) !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" rebol/version == 2.1.2.3.1 Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600

[REBOL] print stmt does not happen until after a successive one Re:

1999-10-11 Thread Al . Bri
This seems to work as I would expect: REBOL [ Title: "Guessing the secret word" Date: 11-Oct-99 Author: "T.M. Brannon" Email: [EMAIL PROTECTED] File: %guessing-word.r Purpose:{ Play a guessing game }

[REBOL] how to create a working while loop? Re:

1999-10-11 Thread Al . Bri
This should help: help while While a condition block is TRUE, evaluates another block. Arguments: cond-block -- (block) body-block -- (block) Counter: 0 while [Counter 10] [print Counter Counter: Counter + 1] 0 1 2 3 4 5 6 7 8 9 == false Andrew Martin [EMAIL PROTECTED]

[REBOL] how to create a working while loop? Re:(2)

1999-10-11 Thread Al . Bri
Perhaps a working example of a Hello program might be instructive: print ["Hello" ask "Hi! What's your name? "] Hi! What's your name? Andrew Hello Andrew Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Writing REBOL - Tips

1999-10-12 Thread Al . Bri
A tip for working in REBOL, which I've only just thought of, so it may be wrong, is to completely say aloud (or write), in one continuous stream, the entire problem and the description to model it. Then add a REBOL header, and run it. ^_^ Andrew Martin BCR - Binary Coated REBOL... [EMAIL

[REBOL] string iteration aborts prematurely Re:

1999-10-12 Thread Al . Bri
For next time: help uppercase Converts string of characters to uppercase. Arguments: string -- (any-string) Refinements: /part -- Limits to a given length or position. range -- (integer any-string) Andrew Martin I'm online... [EMAIL PROTECTED]

[REBOL] string iteration aborts prematurely Re:(2)

1999-10-13 Thread Al . Bri
Russ wrote: The offset between upper and lower case characters is 32, not 26 as you presumed. That's why "a" was becoming "G". Check an ASCII character chart. And if you can't find an ASCII character chart any where: foreach ch string: ask "Please enter a string to upcased: " [

[REBOL] How to handle script arguments Re:

1999-10-15 Thread Al . Bri
lb wrote: I'm new to rebol and trying to figure out how to deal with arguments. I have a script file, test.r, who's sole line is: probe system/script/args When I execute the following from within rebol do/args %test.r 10:30 %bob http://ed http://ed "hello"

[REBOL] mezzanine functions .... Re:(3)

1999-10-19 Thread Al . Bri
Ingo wrote: Have you thought about something like this? [cursor function] Looks nice! Ingo can you post it at www.REBOL.org, please? Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] New chat room at rebol.org Re:(3)

1999-10-20 Thread Al . Bri
Ah, but can you write it in a spiral? ^_^ Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! -- -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [REBOL] New chat room at rebol.org Re:(2) Date: Thursday, 21

[REBOL] REBOL.ORG Web Bot

1999-10-21 Thread Al . Bri
MS IE3 won't work with the REBOL.org web bot. The web bot says it can't upload files. Netscape 3.4 does work, though. It's a little disturbing, though, for the archive Web Bot to say: Here is the header as I received it: make object! [ when

[REBOL] REBOL.ORG Web Bot Re:

1999-10-21 Thread Al . Bri
For those interested, I've just put in a lot of scripts in the archive: http://www.rebol.org I wrote earlier: Also, when does the main page get updated? Or am I impatient? ^_^ There does seem to be a bug here. If I put in a script with a old date in it, it gets added to

[REBOL] Fw: Returned mail: User unknown

1999-10-22 Thread Al . Bri
Hi, REBOL crew, can [EMAIL PROTECTED] be deleted from the REBOL email list? I'm getting this error message for every message I send to the REBOL list. Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! -- -- From: Mail Delivery Subsystem [EMAIL

[REBOL] Fw: Returned mail: User unknown Re:(2)

1999-10-22 Thread Al . Bri
Russel, he wrote to me a few minutes ago, and the problem should be fixed now. Let's know if it happens again. Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! -- -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL] Fw:

[REBOL] real powerful hypertext creation!? Re:

1999-10-22 Thread Al . Bri
Hi, Martin, I'm sure that Robert Muench: [EMAIL PROTECTED] - I hope you don't mind Robert! and me: [EMAIL PROTECTED] We've all ready got a "dialect" for HTML written in REBOL. A lot of what you've all ready written we've thought about all ready.

[REBOL] a script for me to try... Re:

1999-10-23 Thread Al . Bri
t wrote: I'd like to write somthing. Um, how bout a script which churns out html table rows and columns at my whim? Don't make it too easy on me, but could someone give me a nudge in the right direction? I don't know about the whim part, but ask Robert for his modifications to my

[REBOL] a script for me to try... Re:(2)

1999-10-23 Thread Al . Bri
[EMAIL PROTECTED] wrote: I'd like to write somthing. Um, how 'bout a script which churns out html table rows and columns... Using %HTML.r, available at http://www.rebol.org, this style is available now: Table [] [ TR [] [ TD [] ["Data 1.1"] TD [] ["Data 1.2"]

[REBOL] I want out Re:(5)

1999-10-25 Thread Al . Bri
The following REBOL code should also take you off this list: send [EMAIL PROTECTED] "unsubscribe" Andrew Martin Who's been busy subscribing to lists with REBOL... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] send-selma

1999-10-25 Thread Al . Bri
I've forgotten the command. :-/

[REBOL] source-selma

1999-10-25 Thread Al . Bri
I've forgotten the command. :-/ send-selma source-selma Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Parsing url's from a page Re:

1999-10-25 Thread Al . Bri
Check out 'parse in the documentation, http://www.rebol.org , http://www.rebol.com documentation and examples for 'parse. Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! -- -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL]

[REBOL] Invalid Page Fault in REBOL beta on startup

1999-10-26 Thread Al . Bri
With Windows 95, starting up REBOL beta gives me this fault: REBOL caused an invalid page fault in module KERNEL32.DLL at 0137:bff782ae. Registers: EAX=20202020 CS=0137 EIP=bff782ae EFLGS=00010216 EBX=1014 SS=013f ESP=0065fb04 EBP=079e ECX=20202020 DS=013f ESI=0079d3b4 FS=0d2f

[REBOL] BUG Copy from REBOL beta produces multiple copies in pasted text on Windows 95

1999-10-26 Thread Al . Bri
BUG Copy from REBOL beta produces multiple copies in pasted text on Windows 95 Selecting text from the rebol consol and choosing copy, then pasting the text into any other application, reveals the text to be repeated many, many times. Not only that, but multiple line copy produces the wrong

[REBOL] Selma Re:

1999-10-28 Thread Al . Bri
Philip M. McDonnell wrote: Where can one get a copy of SELMA??? This email list server? Send an email to this list with a subject line having only: help in it and all shall be revealed, including the answer to your question. Andrew Martin REBOL mystic... [EMAIL

[REBOL] Extending word related refinement info ... Re:

1999-11-07 Thread Al . Bri
pekr wrote: Does anyone understand, what I am trying to say? :-)) Yes. Can you copy that to [EMAIL PROTECTED], pekr? Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] more on web servers Re:(3)

1999-11-08 Thread Al . Bri
Kat wrote: Are you going to say to parse the FRAME SRC and go back to the site after figuring out what i want? Yup! Have a look at the web crawler in http://www.rebol.org. Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] more on web servers Re:(4)

1999-11-09 Thread Al . Bri
Nick Lothian wrote: Actually, I suspect that won't fix anything. Actually, together with my %Patch.r (it's also in Ingo Holman [?sp] tools on rebol.org), where the function was rewritted, it's all ready fixed problems for at least one person on this list. :-) I just grew bored of

[REBOL] Fixed format/width field files in REBOL

1999-11-10 Thread Al . Bri
Has anyone written any REBOL scripts to read fixed width/format fields in flat files? Files with fields separated solely by position? I sure that 'parse could handle it, but I'm uncertain in this area. Currently I'm using 'read-io with various record lengths to handle each separate field, but

[REBOL] Fixed format/width field files in REBOL Re:(3)

1999-11-11 Thread Al . Bri
Thanks Sterling and Ron! Andrew Martin Who's been seduced by the strawberries... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Build-tag

1999-11-11 Thread Al . Bri
I've been doing some experimenting (and rewriting my %HTML.r script...) and came across this interesting behaviour for 'build-tag: build-tag [BODY BGCOLOR #F0 TEXT #00 LINK #CC VLINK #330099 ALINK #FF3300] == BODY BGCOLOR="F0" TEXT="00" LINK="CC" VLINK="330099"

[REBOL] NT usage Re:

1999-11-11 Thread Al . Bri
Steve Green wrote: 1. Can it read from and write to the NT registry? Not yet. 2. Can it execute a program (.EXE)? Not yet. REBOL/Command can execute programs. It's soon to be released (like only days away from what the REBOL crew have said). With that facility, a simple

[REBOL] Fixing REBOL software

1999-11-11 Thread Al . Bri
Jeff wrote: Of course, I'm sure that if someone fixed IMPORT-EMAIL and sent it in, with a little due process on our part, we'd certainly include it in the core and give credit within the source of the code. Would the REBOL crew do that if we sent in fixes for other functions, etc in

[REBOL] Fixing REBOL software Re:(2)

1999-11-13 Thread Al . Bri
Hi, Jeff. Jeff wrote: Of course, I'm sure that if someone fixed IMPORT-EMAIL and sent it in, with a little due process on our part, we'd certainly include it in the core and give credit within the source of the code. Andrew: Would the REBOL crew do that if we sent in fixes for other functions,

[REBOL] 'Send command change suggestion ... Re:(2)

1999-11-14 Thread Al . Bri
pekr wrote: I would like REBOL Tech. to remove default behavior of inserting subject line once again in the message body. I know it was discussed at least once, but looking at source of 'send, it clearly shows, the philosophy is broken :-))) pekr wrote: Hehe, driving a car it came to my mind

[REBOL] Accessing blocks

1999-11-14 Thread Al . Bri
I've been fiddling around with blocks and the methods of accessing them. I wanted to access a block with a number (1, 2, 3...) and with a word (A, B, C...). I found that this solution worked: block: [ thing1 thing2 thing3 thing4 A thing1 B thing2 C thing3 D thing4 ]

[REBOL] 'Send command change suggestion ... Re:(4)

1999-11-15 Thread Al . Bri
pekr wrote: Now look: - header: make system/standard/email [ from: [EMAIL PROTECTED] to: [EMAIL PROTECTED] Date: to-idate now Subject: "So this is subject " Body: "And this should be one and only body" ] But there is no body in the email header!

[REBOL] REBOL/Command price

1999-11-15 Thread Al . Bri
Steve wrote: As idea how much REBOL/Command will sell for? I don't know, but there was the "rumour" very recently, from one of the rebol crew IIRC, that it was going to be free. I don't know how true that is. It would be good to get an official declaration from the REBOL crew or Carl.

[REBOL] Tip - Calling overridden base class members

1999-11-16 Thread Al . Bri
A tip - Calling overridden base class members. I've got a 'Vehicle! object deriving from a 'Hull! object like this: Vehicle!: make Hull! [ ; Other members here. Hull!HTML: :HTML; Saving the base class function HTML: Getter [ ; 'Getter is an object getting

[REBOL] Enhancement - Reading and writing compressed files

1999-11-16 Thread Al . Bri
Sterling wrote: Hey, a great script idea that I've been wanting to do for some time is write the code to parse in and write out standard gzip headers so then REBOL could read and write standard gzip'd files. I think you'd also have to write the particular checksum code that's in gzip but for a

[REBOL] write/append to a block Re:

1999-01-15 Thread Al . Bri
The cheery Francois wrote: Can I append text to a block? help append Appends a value to the tail of a series and returns the series head. Arguments: series -- (series port) value -- Refinements: /only -- Appends a block value into a block series as a block foreach [record

[REBOL] Reading and writing compressed files Re:(3)

1999-01-15 Thread Al . Bri
Allen K wrote: Good idea Andrew, Another approach... write/zip %MyZipFile.zip [File1 File2 File3 ... FileN] BlockOfFiles: read/zip %MyZipFile.zip probe BlockOfFiles [File1 File2 File3 ... FileN] :-) Just in case,

[REBOL] Julian day and other Re:

1999-01-16 Thread Al . Bri
MF wrote: How can I submit it to rebol site? http://www.rebol.org has all the details. (Use browsers, Netscape v3+ or better, MSIE V4+). Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Round function

1999-01-16 Thread Al . Bri
; It's fairly basic, but does the job. Round: func [R [integer! decimal!]] [ to-integer either 0.5 = remainder R 1 [R + 1][R] ] Any one got any other maths functions? Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Sending scripts to rebol.org

1999-01-16 Thread Al . Bri
Bo wrote: My preferred method is to do the following from within REBOL: send [EMAIL PROTECTED] read %julian.r ;or whatever your filename is If the rebol bot could read compressed files, then there would be no problem with accepting files with long lines? For example:

[REBOL] Announcement - Web Dialect Re:(2)

1999-11-22 Thread Al . Bri
Hi, Ingo, you wrote: why not discussing it [dialects] on the regular mailing list? Your %HTML.r is not what I need at the time, but I am sure interested in dialecting. I felt at the time it was inappropriate, because most of the talk is about HTML, XML and so on, not just REBOL and

[REBOL] Round function Re:(5)

1999-11-22 Thread Al . Bri
Larry wrote: Maybe one more small refinement? The way I learned to round is to round to nearest (as your function does), except where the least significant digit is 5. In that case, one should round even. For example: 1.4 rounds to 1 1.6 rounds to 2 1.5 rounds to 2 2.5 rounds to 2 3.5

[REBOL] web browser Re:

1999-11-25 Thread Al . Bri
Graham wrote: Is anyone working on a Rebol text based web browser a la Lynx? Seems most of the components have already been written ( parsing forms, cookie collection ). I'm waiting for REBOL/Command to come out, some one else to write most of the browser in it, then I'm scheduled by

[REBOL] Accessing header fields Re:

1999-11-26 Thread Al . Bri
[EMAIL PROTECTED] wrote: I have a small script named t04.r with a header like: REBOL [ Title: " test " Author: " ww " ] this is loaded with do %t04.r or do load %t04.r I have tried to access the header fields with many variations of Title mold

[REBOL] Interface and Implementation Re:(4)

1999-11-27 Thread Al . Bri
Elan wrote: Hope this helps,... Thanks, Elan. I've been comparing my REBOL code too closely to my C++ code and forgetting that REBOL words are far more "smarter" than C++ variables. The closest relative in C++ is smart pointers. Andrew Martin [EMAIL PROTECTED]

[REBOL] listening at ports Re:

1999-11-27 Thread Al . Bri
Graham Chiu wrote: Does anyone have a simple listen script? I want to see what my web browser is sending to the web server. I'm sure there's some useful scripts at: http://www.rebol.org Try the proxy. That might serve your puposes. Andrew Martin [EMAIL

[REBOL] Q on Array of Objects Re:(3)

1999-11-27 Thread Al . Bri
o!: make object! [ [s: "OneTwoThree" [St: func [] [s] [] o1: make o! [ [o1: "O1" [] o2: make o! [ [o2: "O2" [] probe o2 make object! [ s: "OneTwoThree" St: func [][s] o2: "O2" ] o2/St: "Hello" == "Hello" probe o2 make object! [ s: "OneTwoThree" St:

[REBOL] Interface and Implementation Re:(4)

1999-11-28 Thread Al . Bri
Gabriele wrote: Andrew, I thought you had learned that there's so much difference between C++ and REBOL... ;-) So had I! :-) REBOL's objects are just contexts; being your 't correctly bound to the right context, it evaluates to the correct value. My C++ experience just

[REBOL] Q on Array of Objects Re:(5)

1999-11-28 Thread Al . Bri
Andrew wrote: Words in objects which refer to functions are copied. Therefore the object will be bigger than expected. Ingo wrote: Seems logical, given that functions are the same as data in Rebol, but it would be nice to have them only once for a set of equal objects, .. Yes. I'm

[REBOL] cookies Re:(3)

1999-11-28 Thread Al . Bri
Graham wrote: Anyway, I've got it so that the script logs on to MTNSMS's password page, grabs the session and persistent cookies, and then posts the message with these cookies to the send-message asp script. End result - my cellphone rings with a text message! It looks ugly, but it works.

[REBOL] Q on Array of Objects Re:(7)

1999-11-29 Thread Al . Bri
Hi, Ingo. Caution - none of this works as expected. Implementation: make object! [ s: "This is s - a string" f: func [hello] [s] ] Interface: make object! [ ; f: get in Implementation 'f ; Copies Implementation/f ; f: func [] [Implementation/f]

[REBOL] Operators

1999-11-29 Thread Al . Bri
Does any know why I can't make a new operator in REBOL? d: make op! [Left Right] [print ["Left:" Left newline "Right:" Right]] ** Script Error: Cannot use make on datatype! value. ** Where: d: make op! [Left Right] [print ["Left:" Left newline "Right:" Right]] Andrew Martin Still trying for 3

[REBOL] Reminder

1999-11-30 Thread Al . Bri
I got a little inspired this afternoon. Naturally, you have to change the schedule to suit yourself and your lifestyle. [ REBOL [ Title: "Reminder" Date: 1/December/1999 Name: 'Reminder Version: 0.0.1 File: %"Reminder.r" Home:

[REBOL] Reminder Re:(2)

1999-11-30 Thread Al . Bri
Graham wrote: Um, Andrew, don't you think an attribution is in order here since I sent you my Tv-scheduler reminder script this morning! Oh, yes. Inspiration (and most of the schedule) provided by Graham. I just did the hard work! :-) Andrew Martin [EMAIL PROTECTED]

[REBOL] Reminder Re:(2)

1999-11-30 Thread Al . Bri
Hi, Donald, you wrote: I noticed that you use "Version:" the way most of us would want to use it, but that is not how I remember it's use being decribed by Carl (his message is surely archived). If I remember correctly, "Version:" is to name which version of *REBOL* is required to run your

[REBOL] Reminder Re:(4)

1999-11-30 Thread Al . Bri
Andrew: Oh, yes. Inspiration (and most of the schedule) provided by Graham. I just did the hard work! :-) Elan: Hard work? In REBOL? What? ;-) Mmmm, yes. Very hard. ;-) I worked all morning, came home 12:30PM, read my email, read Graham's email, didn't like his script (ask Graham for a copy

[REBOL] Patch

1999-11-30 Thread Al . Bri
Time to update my %Patch.r and make it automatic - so I don't have to keep doing it. This patch corrects the User-Agent in the http scheme so as to work better with more web sites. It does the job of my earlier enhancement request. [ REBOL [ Title: "Patch" Date: 1/December/1999 Name:

[REBOL] [REBOL] Reminder

1999-12-01 Thread Al . Bri
Here's a more recent version with corrected inspiration. :-) [ REBOL [ Title: "Reminder" Date: 1/December/1999 Name: 'Reminder Version: 0.0.2 File: %"Reminder.r" Home: http://members.xoom.com/AndrewMartin/ Author: "Andrew Martin"

[REBOL] Bug?

1999-12-01 Thread Al . Bri
I've been fooling around inside REBOL functions and came across this unexpected behaviour: Spec: func ['f /Set Block [block!]] [either Set [insert clear first get f Block] [first get f]] Body: func ['f /Set Block [block!]] [either Set [insert clear second get f bind Block first spec :f]

[REBOL] [REBOL] Reminder Re:(2)

1999-12-01 Thread Al . Bri
Elan wrote: Wouldn't it be possible for two different reminders to be scheduled both in Daily_Schedule as well as Weekly_Schedule for the same day and time? H, this sounds like a person that has problems with their schedule. :-) They need to read Covey's "Seven Habits" and the fourth

[REBOL] A very cool tool for HTML documenting rebol scripts (that will make you drool.) Re:

1999-12-01 Thread Al . Bri
Actually, I was hoping that you've implemented: Table [ "Top Left" "Top Center" "Top Right" "Left" "Right" "Bottom" ] Andrew Martin Making Magic on Web_Dialect... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] A very cool tool for HTML documenting rebol scripts (that will make you drool.) Re:(2)

1999-12-02 Thread Al . Bri
[EMAIL PROTECTED] wrote: The third reason is that even after I make something, I find out 2 months later that it can be greatly improved. I find this too. Usually it comes with greater understanding. I already know it embeds the self-gen func in all objects, but so what? Do you know

[REBOL] Wait doesn't? Re:(3)

1999-12-04 Thread Al . Bri
Congratulations, Graham! You've either found a problem in the REBOL documentation or a bug in 'wait. The documentation for wait says: "If the value is a TIME, delay for that period. If the value is a DATE/TIME, wait until that DATE/TIME. " help wait Waits for a duration, port, or both.

[REBOL] Another reminder script Re:

1999-12-04 Thread Al . Bri
Graham asked: I would also prefer to do without the quotes around days of the week and months. Suggestions and fixes welcomed. Simply do without the quotes! And don't 'reduce the blocks. Like this example: Weekdays: [ Monday Tuesday

[REBOL] Set/Get method for object that hides its storage

1999-12-04 Thread Al . Bri
oz: make object! [ zz: use [zz] [ func [/set set_zz] [either set [zz: set_zz] [zz]] ] ] oz/zz/set 23 == 23 oz/zz == 23 oz/zz/set 25 == 25 oz/zz == 25 probe oz make object! [ zz: func [/set set_zz][either set [zz: set_zz] [zz]] ] Now my only problem is

[REBOL] none Re:

1999-12-07 Thread Al . Bri
Feng lei wrote: I am a beginner of rebol, who know how debug the rebol script? We are all students of REBOL on this list. Present your script on this list and discover enlightment. Andrew Martin Practising REBOL Zen... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600

[REBOL] User Guide in PDF 8) Re:(4)

1999-12-11 Thread Al . Bri
Paul wrote: I find it amazing how people will take something that is offered to them as a gift, at no cost what-so-ever, and instead of being greatful feel obligated to find something about the gift to bitch about. Aren't humans interesting? :-) :-) That's so as to reduce the value of the

[REBOL] REBOL on PSION - anyone ? Re:(3)

1999-12-11 Thread Al . Bri
Andrew Hedges wrote: I don't know about anyone else, but I'd be happy with a beta release that runs on my Psion 5mx, even if it didn't support console operations or networking. At least I could play with scripting while curled up on the sofa instead of sitting in a cold room in front of a PC

[REBOL] Non-reentrant function calling in Rebol Re:(7)

1999-12-11 Thread Al . Bri
Elan wrote: Someone once said "Great minds think alike". There is also another saying: "Fools seldom differ." In either case, I concur with your observations. I also believe that hidden contexts are great solution for this kind of thing. I can't wait to get a version of REBOL whose hidden

[REBOL] User Guide in PDF 8) Re:(6)

1999-12-12 Thread Al . Bri
Allen wrote: My next project will involve realtime conversion of database output to .pdf. So I will probably come up with a standard text to pdf converter for REBOL which I'll post to the group when finished. Just starting to read/learn the pdf specs manual now 500 + pages. You might be

[REBOL] novice level -database Re:

1999-12-13 Thread Al . Bri
Javier wrote: I am trying rebol for a project, but it seems all I know about programing is getting in my way :( I've felt the same way, too. Eventually, you too will get over it. So far, I believe that REBOL is the closest yet to a "pure" programing language. Andrew Martin

[REBOL] Merry Christmas Re:

1999-12-14 Thread Al . Bri
A Merry Christmas and a happy New Year to you all! Andrew Martin Christmas Rebol... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --

[REBOL] Sending a new message every day.. Re:

1999-12-14 Thread Al . Bri
Rolf wrote: How do I make REBOL send a new message every day? ie.: If I have a txt file with 100 different messages, and I want REBOL to start from the top and send a message every day?? I was told that REBOL could do it, but have no idea. Here's just one approach: [ REBOL [] SpamBot:

[REBOL] adding one Re:

1999-12-19 Thread Al . Bri
t wrote: in the following, set '++ func ['word] [set word (get word) + 1] yabba: 2 dabba: rejoin [{LIA HREF="#A}++ yabba{"}now/date{/A}] how would I get ++ yabba to continually increase, from 3 to 4, etc? You could use 'BlockLoop, like this: print BlockLoop 5 [rejoin [{LIA

[REBOL] REBOL Native Redefine Problem Re:

1999-12-21 Thread Al . Bri
help protect-system Protect all system functions and the system object from redefinition. Arguments: Refinements: /locals vals -- words -- word -- protect-system print: func [a] [a + 3] ** Script Error: Word print is protected, cannot modify. ** Where: print: func

[REBOL] REBOL in HTML file Re:

1999-12-23 Thread Al . Bri
Carlos wrote: The documentation of REBOL says that REBOL can be embedded into other types of text including HTML files. I'm trying to make the following work out but have no success because I see nothing printed on the browser. Do I have to first put REBOL to run on local machine? Do I have to

[REBOL] REBOL in HTML file Re:(3)

1999-12-23 Thread Al . Bri
Andrew wrote: Unfortunately, REBOL doesn't run on browsers yet. No "plug-in" (needed to run languages the browser maker hasn't thought to include) has been announced by the REBOL crew, yet. pekr wrote: Not true: http://www.rebol.com/whyrebol.html whyrebol: Additional free products

[REBOL] Thanks Re:

1999-12-27 Thread Al . Bri
Petra wrote: ... However, I have another question. I am familiar with several pgm lang. Would anyone care to comment on whether or not I should learn either Perl or Rebol or both? I feel I need to learn at least one language really well so that I can be something more than a help desk flunky.

[REBOL] learning to code... Re:

1999-12-28 Thread Al . Bri
t wrote: I've followed the "thanks" thread with interest, because I'm in a similar boat to Petra's. Probably next semester I'll start with C or Java or somthing. If you have the choice, choose Java or C++ first, then C later. Bjarne Stroustrup recently pointed out that it's better for

[REBOL] Handy Timer Functions Re:(3)

1999-12-28 Thread Al . Bri
Larry wrote: tic5: func [/local t] [ t: now/time toc5: func [] [print ["elapsed time:" now/time - t]] ] This might be slightly more accurate/faster: tic6: func [/local t] [ toc6: func [] [print ["elapsed time:" now/time - t]] t: now/time ] I've just

[REBOL] Another puzzle Re:

1999-12-30 Thread Al . Bri
jn wrote: Consider the (unedited) transcript below: print form b b b 1 b print b b b b 1 b 1 b print reduce b b b 1 b b b 1 b 1 b print reduce reduce b b b 1 b b b 1 b 1 b How did I construct the value of 'b? b: ['b b 1 "b"] == ['b b 1 "b"]

[REBOL] Direct! Shadowrun character generator Re:(2)

1999-12-31 Thread Al . Bri
Elliott wrote: When I run the script, I find that 'priorities is missing an item. Is this a problem with my usage of remove? Yes! Kind of. I'm trying to remove the value found in 'priorities/magic from the list of available priorities 'pri-list. The same procedure is working for

[REBOL] Modified? returns wrong year Re:

2000-01-01 Thread Al . Bri
Carlos Lorenz wrote: MODIFIED? is returning year 2000 to all files created in 1999, under Windows 98. What is going on? I'm using Windows 95 and REBOL, and it seems to work OK for me: write %test.r "hello" modified? %test.r == 2-Jan-2000/8:47:06+13:00 modified? %Roll.r ==

[REBOL] Yet another puzzle Re:(5)

2000-01-01 Thread Al . Bri
jn wrote: Any more takers before I show my solution? e: ['e pick ['f 'g] random length? third e] == ['e pick ['f 'g] random length? third e] print e e f print e e g print e e g print e e g print e e f Not quite the same, but on occasion I will get the same result! :-) This is better:

[REBOL] Basic string functions? Re:

2000-01-02 Thread Al . Bri
Donald Dalley wrote: I don't use REBOL for parsing yet, but someone else is asking me: Does anyone know if/when basic string functions** are going to be added to REBOL/Core or parse, or am I missing something in the docs? **you know, LEFT, RIGHT, LENGTH, etc. Here's some: string:

[REBOL] What's next for REBOL... Re:(3)

2000-01-03 Thread Al . Bri
Gabriele wrote: i I can't wait to get my fingers and REBOL/View. Me too!! Much as I dislike posting "me, too!" email,... Me, too! :-) Effectively discarding HTML (and browsers) sounds great to me. I'm holding up my hand to be counted as REBOL/View beta tester! Andrew Martin Who only

[REBOL] [Language] functions?

2000-01-04 Thread Al . Bri
Just a thought, is there any function/s from people's formerly favourite :-D languages, that are missing in REBOL? For example, there's the BASIC string functions (LEFT RIGHT MID) that Donald Dalley wrote about. Some time back there was a mention that REBOL didn't have LISP's CDR CAR functions,

[REBOL] [Language] functions? Re:(2)

2000-01-04 Thread Al . Bri
Ladislav wrote: Did you think about the following question: Is there a need to have the functions with unlimited number of arguments in Rebol? This works well for me: Unlimited_Arguments: func [Arguments [block!]] [print Arguments] Unlimited_Arguments ['Arg1 'Arg2 'Arg3 'Arg4] Arg1 Arg2 Arg3

[REBOL] What's next for REBOL... Re:(6)

2000-01-07 Thread Al . Bri
Me, too, please! Andrew Martin [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ --

  1   2   3   4   5   6   >