[REBOL] A couple of things regarding ports Re:(9)

2000-09-18 Thread Al . Bri
Where can I find 'read-net, 'request-download and 'read-via ? source read-net And I'm sure you can figure out the rest. I really hope it's not a silly question :) Make sure you've got the latest version of Rebol. Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/

[REBOL] pinging SELMA Re:(3)

2000-09-18 Thread Al . Bri
Jeff wrote: Anyone actually hacked some improvements to the SELMA code? I did a while back, but I've since mislaid the code. Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/ --

[REBOL] Associative Data Store Re:(2)

2000-09-19 Thread Al . Bri
Here's another version of %Associate.r that should cope with the tests that Ladislav and Joel have thrown at it. I haven't yet worked out how to fix Ladislav's concern yet: The other problem is, that your functions won't accept Any-type! values for Key/Value Comments and criticism gratefully

[REBOL] Associative Data Store Re:(4)

2000-09-19 Thread Al . Bri
It would be very pleasant, IMHO, to be able to write something like the following sketch: age-grade-tab/put a-g 1 + any [age-grade-tab/get a-g 0] Will this do? Associate age-grade-tab a-g 1 + any [associate? age-grade-tab a-g 0] foreach k age-grade-tab/keys [ print [k

[REBOL] Enhancement Request - Adding /skip refinement to 'find and 'select

2000-09-19 Thread Al . Bri
'sort has the /skip refinement: help sort ... REFINEMENTS: /skip -- Treat the series as records of fixed size. size -- Size of each record. (Type: integer) It would be very good if 'find and 'select had the same refinement. Then things like associative memory stores become

[REBOL] Enhancement Request - Adding /skip refinement to 'find and 'select Re:(2)

2000-09-19 Thread Al . Bri
Tell Feedback that you want this! All ready done! Ticket #4395: Thank you for your input which has been assigned ticket #4395. Please include this ticket number on the subject line of any further correspondence so we can efficiently serve you. I sent this request to Feedback on July 7,...

[REBOL] Probable hash! bug Re:

2000-09-19 Thread Al . Bri
Rodney wrote: A hash in an object doesn't seem to act like a block. Here is a console session that shows the problem. o!: make object! [h: make hash! 10 b: make block! 10] probe o! make object! [ h: make hash! [] b: [] ] obj: make o! [] probe obj make object! [ h: make hash! []

[REBOL] Clone - Object and Hash Cloner

2000-09-19 Thread Al . Bri
I wrote: There's a clone function written by Erin, that I'll post to the list soon. Unfortunately, Erin's clone function didn't work for 'hash!. So here's a version that does. [ Rebol [ Title: "Clone" Name: 'Clone File: %Clone.r Version: 1.0.0 Module: 'Clone Export:

[REBOL] How do I? - Get FTP to work with NCBi?

2000-09-20 Thread Al . Bri
How do I get Rebol to work with FTP with NCBi? My pages are here: http://members.ncbi.com/andrewmartin/ Yet I get this error: print read ftp://AndrewMartin:[EMAIL PROTECTED] ** User Error: Failed login to ftp.ncbi.com as AndrewMartin. Check your login. I can use LeechFTP to

[REBOL] How do I? - Get FTP to work with NCBi? Re:

2000-09-20 Thread Al . Bri
I wrote: I can use LeechFTP to transfer and view files to my site perfectly OK. Unfortunately, LeechFTP failed to work on subsequent occasions. Which leads me to think that the fault is with NCBi. Andrew Martin ICQ: 26227169 http://members.ncbi.com/andrewmartin/

[REBOL] Associative Data Store Re:(6)

2000-09-20 Thread Al . Bri
jn wrote: The main difference between our proposals is whether to use a collection of functions or an object-oriented approach. That discussion gets us into deeper waters. In the spirit of putting oil on waters, here's Association.r which allows the use of objects as well as functions for an

[REBOL] Interleaving strings -How? Re:

2000-09-22 Thread Al . Bri
[EMAIL PROTECTED] wrote: The short and the long of what I want to do is take latitude and longitude coordinate pairs and interleave them with each other. The rational behind this is to place objects that are physically close to each other in the real world close together in computer memory,

[REBOL] The Killer App is a 1000 Killer Apps

2000-09-22 Thread Al . Bri
Mark Dickson wrote: Project 2 - REEMACS As the name suggests the intention here is to create an advanced extensible editor environment written entirely in REBOL built on a REBOL interpreter. View GUI versions Command versions could be developed later. In short REEMACS would be a state of the

[REBOL] tailing file ? Re:

2000-09-22 Thread Al . Bri
Would like to do an equivalent of tail function of Unix under Windows. Is there any straight way to do that easily in Rebol? Can you describe what the tail function does please? I hope to contribute more efficiently in rebol list in a few month when I will know rebol better. Welcome to the

[REBOL] How to subscribe to Rebmail

2000-09-22 Thread Al . Bri
Send an email to: [EMAIL PROTECTED] The RebMail architecture: http://www.egroups.com/files/Rebmail/Docs/rebmail-arch.html Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/ --

[REBOL] End User License? Re:

2000-09-22 Thread Al . Bri
Geo... wrote: Will someone please direct me where to find the doc re: standard REBOL End User License agreement? license REBOL TECHNOLOGIES BETA SOFTWARE END USER LICENSE AGREEMENT This Beta License Agreement ("Agreement") is a legal contract... I hope that helps! Andrew Martin ICQ:

[REBOL] What should we bake? Re:

2000-09-22 Thread Al . Bri
Collaborative Work Environment Thing: Instant messaging and file sharing is great, but can REBOL multitask or fakytask well enough to make this work??? Multi-tasking was described as one of next things to go into Rebol by Carl recently. Using care and messaging and queues, one can

[REBOL] distributed collaborative support application Re:

2000-09-22 Thread Al . Bri
RChristiansen wrote: Imagine a support application which features the following: -problem tracking, including work history, problem coding, contact management, and reporting accessible through the LAN, WAN, and Internet -integrated e-mail functions -integrated chat functions -integrated

[REBOL] Compiler for Rebol ? Re:

2000-09-23 Thread Al . Bri
[EMAIL PROTECTED] wrote: I heard about a compiler for Rebol. Is it still available... That's Sherman. It's a compiler for an old version of Rebol. I believe it won't work for recent versions of Rebol. because how can you deliver application to client if there isn't any kind of code

[REBOL] Compiler for Rebol ? Re:(3)

2000-09-23 Thread Al . Bri
pekr wrote: Some time ago Carl mentioned something about partial compilation of certain expression. Just few weeks ago he thowed here one email stating something like why don't you guys use 'compile? Hey ;-) With no further explanation following, one can only guess Carl has somethin' cooking on

[REBOL] Interleaving strings -How? Re:

2000-09-23 Thread Al . Bri
After having read the docs I have not quite figured out how to accomplish the interleaving of strings. The short and the long of what I want to do is take latitude and longitude coordinate pairs and interleave them with each other. Try this QaD: [ Rebol [] Pad: function [Degree [decimal!]]

[REBOL] Small admin/report benchmark Re:(4)

2000-09-23 Thread Al . Bri
Joel wrote: Ladislav's comes next (this is the second script he posted; the first one blew up on my box repeatedly). Ladislav wrote: Confused, I expected the SECOND script (the script using Hash! datatype) to blow up - it looked to me like RT didn't succeed to implement of Hash! datatype

[REBOL] Printing on printers Re:(2)

2000-09-24 Thread Al . Bri
pekr wrote: I think if you can - just generate .html output and browse it ... print from your browser. Earlier, I wrote a Rebol script that generated HTML and JavaScript so that the HTML document is automatically printed. I put it on this list, but I don't recall the message number. If you go

[REBOL] How do I? - Get FTP to work with NCBi? Re:(2)

2000-09-24 Thread Al . Bri
The best way to get FTP to work with NBCi is to spell their name correctly! ftp.nbci.com Andrew Martin Embarrassed Rebol... ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/ --

[REBOL] VID Menu dialect

2000-09-24 Thread Al . Bri
pekr wrote: When we are building menu for e.g., we think in terms of menu, not this face here, this over there, etc. So: main "File" #"F" "Print-setup" #"P" "Something" #"o" sub "ble" I quite like this dialect approach: Menu [ File "File" #"F" [ New "New" #"N"

[REBOL] Unsubcribe - but how? Re:

2000-09-24 Thread Al . Bri
How do I unsubscribe from this list? 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. Or execute this Rebol program: [rebol

[REBOL] Bug! path! in objects don't behave the same as path! outside object

2000-09-24 Thread Al . Bri
Bug! path! in objects don't behave the same as path! outside object. REBOL/View 0.10.34.3.1 23-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved. base: make object! [ [p: does [print "function 'p in 'base"] [] derived: make object! [ [p: first [base/p] [] p:

[REBOL] a GC bug of the second kind Re:

2000-09-24 Thread Al . Bri
Jeff already signaled, that List! and Hash! datatypes are being fixed. I succeeded to track down the behaviour to the following: h: make hash! 0 insert h copy "0123456789" h recycle insert h copy "0123456789" CRASH! just in case you didn't know... It does the same

[REBOL] any leads on openning any site with rebol for a small http page parser? Re:

2000-09-25 Thread Al . Bri
Is there a web navigator written in rebol? You could try checking out Ingo's Web browser here: http://www.2b1.de/Rebol/index.html or the scripts on: http://www.rebol.org I hope that helps! Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/

[REBOL] Bug! path! in objects don't behave the same as path! outside object Re:(2)

2000-09-25 Thread Al . Bri
Hi Andrew, Hi, Elan. I agree with everything up to here: If you want REBOL to instead assign p as a reference to the value that the path evaluates to, you must tell REBOL that: first reduce [base/p] 'p in 'base. i.e. derived: make object! [ p: first reduce [base/p] ]

[REBOL] Bug! path! in objects don't behave the same as path! outside object Re:(4)

2000-09-26 Thread Al . Bri
Hi, Elan. You wrote: When the REBOL evaluator discovers that the word p is referencing a path, then the path is dereferenced as well: p == "'p in 'block" But when REBOL is evaluating a path (this time associated with a block) then unlike when evaluating a word, the evaluation is not

[REBOL] Bug? Rebol/View not able to read nbci site?

2000-09-26 Thread Al . Bri
This fails: read http://members.nbci.com/_XMCM/AndrewMartin/RESUME.HTM on several pages with either network timeout or: html head titleNBCi 404 Error/title snip! Yet my site can be read with my browser? I'm using this version of Rebol: rebol/version == 0.10.34.3.1 and it's the very latest

[REBOL] Bug? Rebol/View not able to read nbci site? Re:

2000-09-26 Thread Al . Bri
Earlier, I wrote: This fails: read http://members.nbci.com/_XMCM/AndrewMartin/RESUME.HTM on several pages with either network timeout or: html head titleNBCi 404 Error/title The problem is actually due to Rebol's use of an incompatible (with other browsers) value for http/user-agent.

[REBOL] Bug! Rebol/View demo mode not able to read nbci site. Possibly not using http/user-agent?

2000-09-26 Thread Al . Bri
Earlier, I wrote: The problem is actually due to Rebol's use of an incompatible (with other browsers) value for http/user-agent. If I change user-agent to this: system/schemes/http/user-agent: rejoin [ "Mozilla" "/" "4.0" " (Compatible; "

[REBOL] Saving blocks question Re:

2000-09-26 Thread Al . Bri
Hi, Sharriff Aina. You wrote: Can any Rebol Guru tell me how to values captured form a HTML with REBOL CGI in blocks in a file? I'm fairly sure I don't understand your question. But does this help? REBOL/View 0.10.34.3.1 25-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved.

[REBOL] saving blocks--typo correction-excuse me Re:

2000-09-26 Thread Al . Bri
Can any Rebol Guru tell me how to save values captured from a HTML form with REBOL CGI as a block to a text file? save %block.txt block print read %block.txt [["one" "two" "three"]] Andrew Martin Look out! Rebol fan! :-) ICQ: 26227169 http://members.nbci.com/AndrewMartin/

[REBOL] Antwort: Compiler for Rebol ? Re:(11)

2000-09-26 Thread Al . Bri
Sharriff Aina wrote: I can see it coming, somebody would write a wrapper or compiler for REBOL one day. I don't know about the compiler, but the wrapper is available from Rebol now! Read what Bo sent to me: Quote (Regarding REBOL Helpdesk #4466) Andrew, Here is a snippet from our

[REBOL] a GC bug of the second kind Re:(3)

2000-09-26 Thread Al . Bri
Blaz wrote: No crash here =] ... looks like a problem with the memory handling of Windoze? It was a problem with a older version of Rebol being distributed. The very latest version fixes this problem. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/

[REBOL] Bug? Rebol/View not able to read nbci site? Re:(2)

2000-09-26 Thread Al . Bri
Hi, Larry, you wrote: I just tried the second Andrew's icon for your rebsite, the one on the right in the sites window, and it seems to work OK, although the first one has the same problems as before. Wondering what made the difference? I'm not sure. Earlier, I wrote: This fails: read

[REBOL] Leaving the list

2000-09-26 Thread Al . Bri
How do I unsubscribe from this list? 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. Or execute this Rebol program: [rebol

[REBOL] Working with binary data Re:

2000-09-26 Thread Al . Bri
If I read in a binary file I get this for example: variable: #{ 5249464624004341666D74201800010001005C774C01 B2530002332D0400 } How do I navigate this to get to specific values and extract them and store them in variables? The best I could do is use data:

[REBOL] Combining a word and a value in one argument Re:

2000-09-26 Thread Al . Bri
Tim wrote: It would be great if I could have a function that would take a rebol word as an argument and print out both the word and it's value: help source USAGE: SOURCE 'word DESCRIPTION: Prints the source code for a word. SOURCE is a function value. ARGUMENTS: word --

[REBOL] Path failure? Re:

2000-09-27 Thread Al . Bri
Sharrif wrote: can anyone tell me why this path fails? load %test.r == [ users: [admin: [ name "name-admin" email "name-admin" ] ] ] print users/admin/name ** Script Error: users has no value. ** Where: print users/admin/name Try:

[REBOL] Path failure? Re:(2)

2000-09-27 Thread Al . Bri
Here's a working example: users: [ [admin [ [name "Another User" [email [EMAIL PROTECTED] [] [] == [ admin [ name "Another User" email [EMAIL PROTECTED] ] ]

[REBOL] a GC bug of the second kind Re:(5)

2000-09-27 Thread Al . Bri
ptretter wrote: Just what is the GC bug? A bug that Rebol crew haven't fixed yet. :-) Unfortunately I've forgotten the example code that made Rebol crash. :-( Anyone? Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/ --

[REBOL] A FORMAL REBOL SPECIFICATION Re:

2000-09-29 Thread Al . Bri
Mark Dickson wrote: For my own interests I require to write a formal specification for REBOL as a language technology. Will this be a description of the way Rebol is now? Or will be more descriptive of what Rebol will be, once bugs are fixed? I'm in favour of the latter. Andrew Martin

[REBOL] Directory/File issue... Re:

2000-09-29 Thread Al . Bri
Terry Brownell wrote: Q. How can I read a text file with Rebol, when I'm not sure what the file name actually is? I want to process every file in the directory, but how? print mold read %/c/rebol/ [%Component/ %Rebol%20stuff/ %Old_Rebol/ %Association/ %Site/ %Plug-in/ %Include/ %RebMail/

[REBOL] decode-cgi into nested block

2000-09-30 Thread Al . Bri
Hi, Shariff, you wrote (directly): I´m so sorry to bother you in this manner. I took my work home (deadline to meet) and since I subscribed to the REBOL list at work it´s not possible to post any questions. Luckily I cut and pasted a reply that you made to a question of mine a few days back.

[REBOL] parse, I think, (again) Re:

2000-09-30 Thread Al . Bri
tom wrote: If given a block, ["text, text -b text --b , text"], how do I replace -b and --b with b and /b, respectively? This is the most direct way: block: ["text, text -b text --b , text"] == ["text, text -b text --b , text"] string: copy first block == "text, text -b text --b , text"

[REBOL] A FORMAL REBOL SPECIFICATION Re:(2)

2000-10-01 Thread Al . Bri
Bob R wrote: I would prefer to see a specification of what is available now and also make sure it clearly covers what is in /core first. It should be possible using Rebol's reflection of words to be able to automatically scan all of system/words, and write a small HTML page for each word, that

[REBOL] Patches and Enhancements

2000-10-01 Thread Al . Bri
I've written up some Patches and Enhancements to Rebol, and have posted them to the 'net here: http://members.nbci.com/AndrewMartin/Rebol/ Just copy the directories and files to your own machine, and put these lines: do %/c/Rebol/Patch/Patches.r do

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(5)

2000-10-02 Thread Al . Bri
e wrote: I think I get it... When the expression is reduced down, if the result is type error!, it ab ends. Not quite as the error can be assigned to a variable. It's when Rebol evaluates the results and it's of error! type. For example: error? err1: err2: err3: try [1 / 0] == true probe

[REBOL] Port timeout Re:

2000-10-02 Thread Al . Bri
Paul Tretter wrote: How do I manipulate the timeout on ports to ensure I don't get a network timeout error? Also, anyone know the default timeout value. Check out the new core manual, page 360, Network Protocols. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(7)

2000-10-02 Thread Al . Bri
eventi wrote: And I havn't seen an elegant way to concatenate binary! type data. Join would be nice. probe join #{012345} [ #{0123} ] #{012345237B303132337D} Have you tried 'join? Like this: join #{012345} #{0123} == #{0123450123} It seems simpler to me. BUT! It also looks to me that

[REBOL] Bug! - 'insert can't handle a binary value in a block as it's 'value argument

2000-10-02 Thread Al . Bri
Bug! - 'insert can't handle a binary value in a block as it's 'value argument head insert tail #{012345} #{0123} == #{0123450123} ; Correct! head insert/only tail {012345} [{0123}] == "0123450123"; Correct! head insert/only tail #{012345} [#{0123}] == #{012345237B303132337D}; Wrong!

[REBOL] TECHNICAL ESSAY/CHALLENGE(s) - Expression Based? Re:

2000-10-03 Thread Al . Bri
What would be nice here would be to invoke a method call against an object which is the value of AN EXPRESSION... (*WARNING* *HYPOTHETICAL SYNTAX FOLLOWS*) use [evens odds] [ evens: make tally [] odds: make tally [] foreach num bunchanums [ (either even? num

[REBOL] TECHNICAL ESSAY/CHALLENGE(s) - Expression Based? Re:(2)

2000-10-03 Thread Al . Bri
This is a bit shorter, but still not as nice as the Rebol way as used in System and View. [ Rebol [ File: %Tally.r ] tally: make object! [ tot: 0 zero: does [tot: 0] up: func [/by n [number!]] [print "up!" tot: tot + either by [n] [1]] down: func [/by n [number!]] [print

[REBOL] TECHNICAL ESSAY/CHALLENGE(s) - Expression Based? Re:(3)

2000-10-03 Thread Al . Bri
And this is more like the Rebol way, as I imperfectly understand it: [ Rebol [ File: %"Tally Ho.r" ] Tally!: make object! [ make-Tally: does [make object! [Total: 0]] Zero: func [Tally [object!]] [Tally/Total: 0 Tally] Up: func [Tally [object!] /by N [number!]] [

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(5)

2000-10-03 Thread Al . Bri
Hi Andrew, Hi, Elan. as an aside: [EMAIL PROTECTED] wrote: probe err ** Math Error: Attempt to divide by zero. ** Where: 1 / 0 remember to disarm errors before you probe them. Try probe disarm err That's probably what you intended to do? No, I meant to write exactly that, to

[REBOL] shifting characters in rejoin Re:

2000-10-04 Thread Al . Bri
I have created a function which returns something strange when I use rejoin. The function is called build-html.r which builds a markup statement. Here is the console result. Notice the closing bracket for the opening tag is strangely moved to the end of the rejoined string: do %build-html.r

[REBOL] List! series [Was: blank] Re:(2)

2000-10-04 Thread Al . Bri
list: make list! [1 2 3 4] == make list! [1 2 3 4] first list == 1 remove list == make list! [2 3 4] first list ** Script Error: Out of range or past end. ** Where: first list first head list == 2 As Larry points out, some functions work differently for list!. I believe it's for performance

[REBOL] shifting characters in rejoin Re:(2)

2000-10-04 Thread Al . Bri
You've run into the interesting way that 'join works on tag!. rejoin [font "class=" "Ryan C. Christiansen" /font] == fontclass=Ryan C. Christiansen/font Basically you have to convert the tags to strings to work as you'd expect, as 'join on a tag! will put the stuff in the block inside the

[REBOL] Did you know? - 'Bind is stackable!

2000-10-04 Thread Al . Bri
Did you know? - 'Bind is stackable! I didn't - until I tried it. Have a look at the line: if all bind bind Filter 'File 'Header Unit: function ['Name [word!] Base-Directory [file!] Sub-Directory [file!] Filter [block!]] [Script Header] [ error? try [ if

[REBOL] Who is that grouch? -or- Fun with functions! Re:(5)

2000-10-05 Thread Al . Bri
jn wrote: nondiv: func [d] [func [n] [either n // d = 0 [none] [n]]] This could be quicker as: nondiv: func [d] [func [n] [if n // d 0 [n]]] as 'if returns 'none when the condition is false. Also, this: map: function [[catch] b [block!] f [function!] /all] is better as:

[REBOL] Who is that grouch? -or- Fun with functions! Re:(7)

2000-10-05 Thread Al . Bri
The next most common name I can recall for that kind of thing is "accumulate", but I'm too lazy to type that all the way out. How about: "cumulate"? It's shorter! :-) Or what about: "apply", as in applying the function to a block or blocks? As 'pair-wise can be extended to three (or more)

[REBOL] Who is that grouch? -or- Fun with functions! Re:(8)

2000-10-05 Thread Al . Bri
Andrew wrote: As 'pair-wise can be extended to three (or more) arguments functions as well. Much like this: Apply: function [Blocks [block!] F [any-function!]] [Results F-Block] [ [Results: none [if equal? length? Blocks length? first :F [ [Results: make block! length? first

[REBOL] Map

2000-10-05 Thread Al . Bri
jn wrote: The next one (I can't recall if there's a common name for it) can be used for statistics and other fun things: Chris wrote: In Lisp this function is still MAP. MAP takes any number of sequences and the function takes a number of arguments equal to the number of sequences:

[REBOL] creation of a block with a lot of integers Re:

2000-10-05 Thread Al . Bri
Is there a efficient way of creating a block consisting of a range of integers? For 1 to N, yes (based on jn's code: Iota: function [N [integer!]] [Block] [ Block: make block! N repeat I N [insert tail Block I] Block ] iota 6 == [1 2 3 4 5 6] If you want to put in a

[REBOL] Bug! - 'second on object containing ONE hash! has TWO hash! !!

2000-10-05 Thread Al . Bri
Bug! - 'second on object containing ONE hash! has TWO hash! !! REBOL/View 0.10.35.3.1 30-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved. o: make object! [h: make hash! []] o/h == make hash! [] second o == [ make object! [ h: make hash! [] ] make hash! [...]]

[REBOL] Re: [REBOL Helpdesk] #4608

2000-10-05 Thread Al . Bri
Bug! - 'second on object containing ONE hash! has TWO hash! !! o: make object! [b: make block! [] b2: make block! [] b3: make block! []] print mold second o [ make object! [ b: [] b2: [] b3: [] ] [] [] []] insert tail o/b 1 == [] print mold second o [

[REBOL] Bug! - 'second on object containing ONE hash! has TWO hash! !! Re:(2)

2000-10-05 Thread Al . Bri
Eric wrote: Hi Andrew, Hi, Eric! Are you pulling our leg? Remember 'self ? It even does a similar thing in old Rebol/Core: REBOL 2.2.0.3.1 Copyright (C) 1998-1999 REBOL Technologies REBOL is a Trademark of REBOL Technologies All rights reserved. Finger protocol loaded Whois protocol loaded

[REBOL] NOT a bug - Bug! - 'second ... Re:(2)

2000-10-06 Thread Al . Bri
Everyone is right in saying this is not a bug! I agree too! print mold second o [ make object! [ a: "fee" b: "fie" c: "foe" d: "fum" ] "fee" "fie" "foe" "fum"] The first thing in: second o is the 'self

[REBOL] script not terminating, continues to replicate Re:(2)

2000-10-06 Thread Al . Bri
Ryan wrote: Besides the horribly inefficient code, what could be wrong with this script (below) that would be causing problems? It could be a problem in your JavaScript? Or HTML for frames? Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --

[REBOL] Bug? Same? on recursive blocks crashes Rebol

2000-10-06 Thread Al . Bri
Larry wrote: Here is a related fun puzzle ;-) b: [1 2] == [1 2] b/2: b == [1 [...]] And what happens when: same? b b/2 is done? This: REBOL caused a stack fault in module REBOL.EXE at 015f:00435703. Registers: EAX=00c04838 CS=015f EIP=00435703 EFLGS=00010297 EBX=0073db2f

[REBOL] script not terminating, continues to replicate Re:

2000-10-06 Thread Al . Bri
Ryan wrote: print rejoin [{a href="} url {"IMG SRC="/graphics/bannerads/} img {" ALT= "} alt {" target="_blank" border=0 height="} height {" width="} width {"/a }] Just a suggestion, but you could add the HTML HEAD and BODY tags around this code, just in case it's accessed by an older

[REBOL] script not terminating, continues to replicate Re:(3)

2000-10-06 Thread Al . Bri
Gabriele wrote: I'd suggest: set [url img alt height width] pick b random length? b But then there's only one use of Transpose! :-) Thanks Gabriele for picking that up. Andrew Martin Transposed Rebol... ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --

[REBOL] FTP Timeout Re:

2000-10-06 Thread Al . Bri
Carlos wrote: I know this question was made in here a hundred times but I need the answer again, please. How can change the value for FTP time out? Check out page 360 in new Rebol/Core manual PDF, 12-12. There's a very good reference there. Andrew Martin ICQ: 26227169

[REBOL] Transpose Re:(2)

2000-10-06 Thread Al . Bri
jn wrote: Nice choice of names... Thanks, Joel. (but I MUST remember to ask you about the caps) Why capitals? Here's the Transpose function again: Transpose: function [ [catch] "Transposes Matrices" Matrix [block!] ][ Results Width Height Column ][ Results: make

[REBOL] Transpose Re:(3)

2000-10-06 Thread Al . Bri
Ted wrote: How about starting with Carl's style guide: http://www.rebol.com/users/scrstyle.html, and extending from there? Rebol Crew wrote: The contents of a block are indented, but the block's enclosing brackets [] are not. That's because the brackets belong to the prior level of

[REBOL] debug help Re:(2)

2000-10-06 Thread Al . Bri
REBOL [] icon "test" %test I suspect that: %test is meant to be: %test.r ** Math Error: Attempt to divide by zero. ** Where: pbar/data: b / l show That's most likely an error in View. Probably can't handle a file that doesn't exist? 'l is most likely to be length?

[REBOL] Cosmetic bug - Help

2000-10-06 Thread Al . Bri
Do you think that the HELP convention, as in: help append USAGE: APPEND series value /only DESCRIPTION: Appends a value to the tail of a series and returns the series head. APPEND is a function value. ARGUMENTS: series -- (Type:

[REBOL] Document bug - [catch] There's a catch!

2000-10-06 Thread Al . Bri
Joel wrote: I assume your [catch] was a faster way of addressing this same issue, by simply passing the error resulting from an empty argument list back to the caller. Andrew (mistakenly!!) wrote: It's a whole lot simpler and catches the error earlier and it runs faster. Ladislav wrote:

[REBOL] Transpose Re:(5)

2000-10-06 Thread Al . Bri
This is clearly one of those "you say tomato, I say ketchup" issues. Anyone who doesn't like ketchup on his steak (or steak under his ketchup) is welcome to skip this post entirely! This is religious war territory! :-) I prefer a slightly modified form of: begin-end Block Boundaries

[REBOL] learning to parse Re:(3)

2000-10-07 Thread Al . Bri
determiner: [ "Attractive" | "Intelligent" | "Visionary" | "Dangerous" - You're missing something here... "The" | "Complacent" | none ] I hope that helps! Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --

[REBOL] Bug? Update button on Rebol/View always gets a new copy of Rebol/View

2000-10-07 Thread Al . Bri
Update button on Rebol/View for Windows always downloads a new copy of Rebol/View. This might have something to do with time zones, as I'm currently at +11 hours GMT, NZ Daylight Saving Time. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --

[REBOL] learning to parse Re:(5)

2000-10-08 Thread Al . Bri
nounphrase: [ ["Andrew" [] == [ "Andrew" ] predphrase: [ ["Rules!" [] == [ "Rules!" ] string: "Andrew Rules!" == "Andrew Rules!" parse string [nounphrase predphrase] == true Andrew Martin Toot! Toot! ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --

[REBOL] Script Controlled POST? Re:

2000-10-08 Thread Al . Bri
Jeff wrote: So let's say you construct a form out of ALL hidden type fields. And you want to submit it without the user having to press anything. Meaning you want to somehow let the script "Press the Submit button" for this invisible form. How to do that? Any ideas? This sounds like a job

[REBOL] Rebol Style - Caution: Religious views expressed! ;-)

2000-10-09 Thread Al . Bri
Michael Jelinek wrote: Andrew Martin wrote: I prefer the better human readable style like this example: repeat Index Width [ Column: make block! Width foreach Row Matrix [ insert/only tail Column Row/:Index ] insert/only tail Results

[REBOL] Security for CGI scripts Re:

2000-10-09 Thread Al . Bri
Peter Carlsson wrote: I need to have a CGI script on a server which will allow authorized persons to get access to read/write on the server. As part of the CGI query string the username and password are provided. It will be used to update REBOL scripts on the server. It will then be

[REBOL] Bug? 'func not really 'func

2000-10-10 Thread Al . Bri
REBOL/View 0.10.38.3.1 3-Oct-2000 Copyright 2000 REBOL Technologies. All rights reserved. source func func: func [ "Defines a user function with given spec and body." [catch] spec [block!] {Help string (opt) followed by arg words (and opt type and string)} body [block!] "The

[REBOL] Bug? 'func not really 'func Re:

2000-10-10 Thread Al . Bri
f: func [arg] [none] source f f: func [arg][none] Where did 'throw-on-error go to?! After all it's present here: Silly Andrew! It didn't go anywhere. But the rest of the bug is still there!! :-( Andrew Martin I blame my diabetic hypo... ICQ: 26227169

[REBOL] Bug? 'func not really 'func Re:(2)

2000-10-10 Thread Al . Bri
Ladislav wrote: FYI Throw-on-error simply executes, that's all. I realised that shortly after I sent my email. Thanks! zot2: func load mold third :func copy/deep second :func Load Mold is needed instead of Copy/deep (I think, that you will find out why) I think I found out why: type?

[REBOL] Question: Move the REBOL List? Re:(2)

2000-10-10 Thread Al . Bri
Carl wrote: What would you think if we were to move this main list to a site like egroups.com? Fine with me. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --

[REBOL] Question: Move the REBOL List? Re:(4)

2000-10-10 Thread Al . Bri
Rishi wrote: Wasn't there a list already created by the name "rebol"? I tried creating one earlier today after I read Carl's message, but I got an error message from eGroups, that seemed to indicate the name was already taken. If not, who is going to create it and create/maintain list? I

[REBOL] Open source project Re:(10)

2000-10-11 Thread Al . Bri
Carl [A REBOL as always] Sassenrath wrote: With regard to the specifics of buglists, knowledge-bases, and specs: I'm for it. But help me out because I don't have the time or peoplepower to do everything for everybody. Like I said: I've been focusing on YOU for four years now. I've had no

[REBOL] How does one persist data? Re:

2000-10-11 Thread Al . Bri
Sharriff wrote: Does anyone have a solution of persisting data across HTML pages? I want data submitted through a CGI from a HTML form to be usable in other pages. Why not have a Rebol cgi script that outputs the HTML form, another one that responds to the form and then writes the information

[REBOL] Question: Move the REBOL List? Re:(6)

2000-10-11 Thread Al . Bri
Rishi wrote: But it would be nice to have the name REBOL as the newsgroup name. Perhaps you could find out who took this name and see if he/she might give it up for this newsgroup?? I suspect Rebol Crew have it. Here's the description that eGroups here http://www.egroups.com/group/rebol

[REBOL] Question: Move the REBOL List? Re:(7)

2000-10-11 Thread Al . Bri
And I've just now subscribed to it again. I also tried emailing to it but got this back from eGroups: Quote The rebol group is for archival use only and does not accept direct postings. If you want to post to the actual email list, please send your message to [EMAIL PROTECTED] For

[REBOL] Script arguments Re:

2000-10-11 Thread Al . Bri
Peter Carlsson wrote: When calling a script from within the console I don't manage to pass any arguments to the script. Passing arguments when starting up REBOL itself works but not when REBOL is already started. Could someone please help me? help do USAGE: DO value /args arg /next

[REBOL] eGroups Rebol-List replacement list

2000-10-13 Thread Al . Bri
Rishi wrote: Otherwise, what shall we call this discussion group? Call me impetuous, but I went ahead and made a replacement list at eGroups for this list: Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] Unsubscribe:[EMAIL PROTECTED] List-owner: [EMAIL PROTECTED]

<    1   2   3   4   5   6   >