[REBOL] Latest library loader script

2003-11-12 Thread Andrew Martin
Plus, it uses a dialect (sort-of), and has no infinite loops! Thanks to Anton, Gregg and Volker. [ Rebol [ Name: 'Values Title: "Values" File: %"Values.r" Author: "A J Martin" Owner: "Aztecnology" Rights: "Copyright (c) 2003 A J Martin, Aztecnology

[REBOL] Ping!

2003-11-10 Thread Andrew Martin
Andrew J Martin Attendance Officer Speaking in tongues and performing miracles. Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and its Board of Trustees is

[REBOL] Library loader

2003-11-10 Thread Andrew Martin
Here's my Library loader script: use [Patches Files Provided Do_Script Defer_Script Script Header Requires Provides] [ do Patches: %Patches.r Files: exclude read %./ reduce [Rebol/script/header/File Patches] Provided: make block! 100 Do_Script: [ do

[REBOL] DLL Hell = Rebol library script version

2003-11-10 Thread Andrew Martin
Thanks, Anton! You wrote: > > (A) f2 just tries to use whatever version of f1 is currently installed. I'd go for this option as it's the most simple option, in breaking as soon as possible. The other options involve the higher level function "knowing" too much about the lower level function. T

[REBOL] DLL Hell = Rebol library script version

2003-11-10 Thread Andrew Martin
Thanks, Anton! You wrote: > > (A) f2 just tries to use whatever version of f1 is currently installed. I'd go for this option as it's the most simple option, in breaking as soon as possible. The other options involve the higher level function "knowing" too much about the lower level function. Th

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-09 Thread Andrew Martin
> if Temperature < 1.0°C [ > telephone +25-123-4567 rejoin [ > %FrostWarning.wav %At.wav %Location.wav > ] > ] if Temperature < 1.0°C [ telephone +25-123-4567 [ %FrostWarn

[REBOL] Looking over the horizon - Rebol 3

2003-11-09 Thread Andrew Martin
What would Rebol, version 3 look like? Here's some of my thoughts: * Lots more datatypes! For example, a Telephone! data type, temperature, audio/sound data-type, metric and imperial units like 123.5Km, 50MpH, and so on. I'd like a Rebol script that can ring a cell phone and deliver a spoken mes

[REBOL] Script styles

2003-11-09 Thread Andrew Martin
Volker wrote (in another thread): > Hmm, eventually rebol.org could mark RT-style-scripts so people can look up "official" examples when in doubt? Perhaps this could be a declaration in the header? For example: Style: 'Rebol-Official People who prefer different styles could then

[REBOL] Re: serious proposition...WAS: RE: Standards

2003-11-09 Thread Andrew Martin
Hi, Anton. You wrote: > My system also doesn't have a concept of dependencies that the Needs block addresses (yet). It's up to the programmer to write in the header somewhere which words are needed and up to the user to check. I've been planning to add that at some stage but haven't figured out th

[REBOL] Understanding evaluation

2003-11-09 Thread Andrew Martin
Tim wrote (in another thread): > ...comprehending rebol's multi-level evaluation process which is very different from other (non-lisp) languages. Is there a need for more information here? Andrew J Martin Attendance Officer Speaking in tongues and performing miracles. Colenso High School Arnold

[REBOL] Re: serious proposition...WAS: RE: Standards

2003-11-06 Thread Andrew Martin
Max wrote: > I'd like an OFFICIAL, community blessed library/module standard. A lot of us are still waiting for Carl's module standard to arrive. I've given up on the idea of waiting, though I can see how useful it would be. Max, can you give an example of your proposed library module, please? P

[REBOL] Re: syntax across languages

2003-11-06 Thread Andrew Martin
Joel wrote: > As for (2), it doesn't exists! I'm not trying to be pedantic here, but sincerely believe that one of the early steps to "getting" REBOL is to realize that e.g. THERE IS NO "IF" STATEMENT, but merely some functions (IF, IF/ELSE, EITHER) that take an argument of type [LOGIC! NONE!] an

[REBOL] Standards

2003-11-05 Thread Andrew Martin
Max wrote: > IT would mean people adhering to a standard... What kind of standards are you thinking of? I'd like to know more. Andrew J Martin Attendance Officer Speaking in tongues and performing miracles. Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 ht

[REBOL] Re: lost the case ...

2003-11-04 Thread Andrew Martin
Bryan wrote: > It would be nice to see some group projects. I would like to see a project to put together a real library of xml functionality for Rebol, something which I think might be too much for one or two to accomplish realistically. I'd be interested in this as well. But I'm pretty busy at

[REBOL] Rebol's function argument specification dialect

2003-11-04 Thread Andrew Martin
Steven wrote (in another thread): > ADD-FILLER: func [ > "Add a specified number of blanks to FORMATTED-LINE" > SPACE-COUNT integer! > ] [ And why didn't Rebol pick up the fact that 'integer! should have been inside square brackets? Because, sometimes, you want a function that takes a dat

[REBOL] Re: Formatting a display line

2003-11-04 Thread Andrew Martin
Tom wrote: > works with this tiny change > > from > ADD-FILLER (10 - length? FORMATTED-LINE) ;; > to > > ADD-FILLER 10 - (length? FORMATTED-LINE) > > > > this is because 10 - length? > > is being asked to happen before length? FORMATTED-LINE > > and is no

[REBOL] Re: Formatting a display line

2003-11-04 Thread Andrew Martin
Steve wrote: > Am I losing my mind or what? No, just suffering from an overuse of COBOL... :) :D Try adding square brackets around the "integer!" function argument data-type specifier in 'ADD-FILLER. For example: ADD-FILLER: func [ "Add a specified number of blanks to FORMATTED-LINE"

[REBOL] Re: Why I don't need get-word here!

2003-11-02 Thread Andrew Martin
Patrick wrote: > - Do I need the get-word? No. > - Is there a difference in the result? No. > two syntaxes, the same results, what am I missing ? The ":" in the get-word ":face" prevents the Rebol interpreter from doing an extra evaluation step; that is, the evaluation associated with words r

[REBOL] Re: Make URL

2003-10-30 Thread Andrew Martin
John wrote: > When I use this code, everything works: > > data: read/lines %//_2003_08/002s1d0.txt > > But, when I try to pass a variable to that line, while it returns the correct URL -the code fails and reports that it was expecting the correct type URL block: > > data: read/lines rejoi

[REBOL] Re: File writing issue

2003-10-29 Thread Andrew Martin
Matt wrote: > Ok here's one more for everyone to ponder. When you write a file in rebol that is somewhat large (around 1 meg or so) and then immediately after writing it you want to do something with it (email it, etc) I get an error message that the file is not there. > ... > Any suggestions? I

[REBOL] Re: Euro and German currency

2003-10-21 Thread Andrew Martin
> Is there supposed to be a special symbol here? > (Not just "DM" ?) > I don't see it here in Outlook. There's only "DM" there. Did you see the special Euro character? It's like a curly capital "e". Andrew J Martin Attendance Officer Speaking in tongues and performing miracles Colenso High Scho

[REBOL] Re: Building an Associate List from a string

2003-10-20 Thread Andrew Martin
Earlier I wrote: > You need to put the above into a function and make 'Word and 'Value into local words and take out 'probe-s. Something like this: Rebol [] Test: "age^-54^-name^-Tim Johnson^-occupation^-coder^-Salary^-USD$10.00" Parse-List: function [String [string!] /With Delimiter [strin

[REBOL] Re: Building an Associate List from a string

2003-10-20 Thread Andrew Martin
Tim wrote: > I would like to employ a strategy that converts any value to the best guess for a rebol datatype. IOWS, "54"[string!] would become 54[integer!] > > It occurs to me that a brute-force method would be to process via a nested attempt[any[]] loop. > > Any more "elegant" ideas? Rebol [

[REBOL] Re: Cunning use of [], () & {} in R# and in future? Rebol versions?

2003-10-16 Thread Andrew Martin
Earlier I wrote: >> X[2] > == "b" It looks like I'm solving problems which not yet exist. Andrew J Martin Attendance Officer & Grail Jedi, fighting with laser swords... Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM ht

[REBOL] Re: Q - Update major revision now available...

2003-10-16 Thread Andrew Martin
> (Ad free Q Pro version available with tons of added features) What are the features in this version? Andrew J Martin Attendance Officer & Grail Jedi, and Q straight man. :) Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?

[REBOL] Re: Memory leak on View faces using "feel"..

2003-10-16 Thread Andrew Martin
Terry wrote: > I've noticed a memory leak when you hover a mouse over any face using the "feel" user interface events. Is this a known bug or ? If you run the example below, and watch the memory usage of the Rebol.exe running it, it will go up when you hover. Same thing with the engage feel. >

[REBOL] Re: Vanilla wont run at my server

2003-10-16 Thread Andrew Martin
Carlos wrote: > After downloaded Vanilla I have followed all the steps of installation described at the site but yet I could not get it to run at the server I already have some REBOL scripts running as CGI. > > Anyone that uses it could give me a hand? I've had a similar experience as well, but

[REBOL] Re: Cunning use of [], () & {} in R# and in future? Rebol versions?

2003-10-16 Thread Andrew Martin
Volker wrote: > Hum. If this magic-char-thread is serious, could I borrow someone my perl-interpreter? ;) With Rebol, my words mean what I want them to mean. :) :-/ But if I want to be understood and want to understand others, it's best that we all agree on what Rebol or R# words mean to all of

[REBOL] Re: holding lit-word! values in a word...

2003-10-16 Thread Andrew Martin
> WOW! > > my brain just clicked . > > now all of a sudden all those lines of code using get-word > notation when it seems its not specifically essential... make sense! Rebol: the Zen learning experience... Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Na

[REBOL] Cunning use of [], () & {} in R# and in future? Rebol versions?

2003-10-15 Thread Andrew Martin
It occurred to me as I was writing Rebol code, that it's possible to re-use these characters [], () & {}, in useful ways. I've noticed that when I'm writing block!, paren! & string values, I leave white space before and after the [], () & {} characters. It would be nice to have: >> X: ["a" "b" "c

[REBOL] New dialect

2003-10-15 Thread Andrew Martin
Hi! Here's an example of my latest dialect: Pupil "Lasdv RASDKLNO" Remove A "AStudy" "Vk" Link A "10ICTY" "DT" "CT" Pupil "Advadwv ew Oadva RAREAEVE" Remove E "EStudy" "Vk" Link E "10ENGL" "EP" "K1"

[REBOL] Re: CMS in REBOL?

2003-10-15 Thread Andrew Martin
Hi, Will. You wrote: > try this page: > http://opensourcecms.com/modules.php?name=Content&pa=showpage&pid=6 Sorry, our school's firewall is just to high! :) I suggest HTML email! Andrew J Martin Attendance Officer & Grail Jedi Who's supply of witty taglines seems to have dried up at th

[REBOL] Re: CMS in REBOL?

2003-10-15 Thread Andrew Martin
Carlos wrote: > I am very used to systems such as e107 (www.e107.org) for instance. Unfortunately, my work's firewall prevents me from accessing this (and my home internet isn't working 'till next week). Can some one summarise or could Carlos send a interesting page from the site please? > I th

[REBOL] Re: 'ML problem with literal quotation marks

2003-10-15 Thread Andrew Martin
Earlier, I wrote: > My ... Build-Tag dialect should check every string! attribute value and 'escape' any double quote marks inside (so that people don't have to worry about this.) Build-Tag: function [ "Generates a tag from a composed block." Values [block!] "Block of parens to evaluate a

[REBOL] Re: 'ML problem with literal quotation marks

2003-10-15 Thread Andrew Martin
Hi, Tim. > Cc: [EMAIL PROTECTED] That email address no longer exists! Try one of these: [EMAIL PROTECTED] [EMAIL PROTECTED] Or at work: [EMAIL PROTECTED] Tim wrote: > > > > > The content as viewed in the browser does not show {"boo-boo"} (with

[REBOL] Re: R# or Rebol Sharp on DotNET

2003-10-15 Thread Andrew Martin
Earlier, I wrote: > ..."Number_Units" (I really need a better [name] for these!) Taking a hint from the Core PDF about money data-types, I'm now using "Scalar" to name values like these: 50Km/H 60MpH 99Meters 12.3cm and so on

[REBOL] Compose on tag! values

2003-10-15 Thread Andrew Martin
What do people think about extending 'compose to work within tag! values? For example: paragraph_colour: "green" compose [ ] which results in: [

[REBOL] Re: Rebol# or Rebol on DotNET

2003-10-15 Thread Andrew Martin
bryan wrote: > then one can use xml schema to define rebol datatypes, don't much care for xml schema, but the .Net implementation is actually useful, especially as one can do runtime translation between xml schema datatypes and .net datatypes. At the moment, I'm using .NET Regular Expressions to

[REBOL] Re: Rebol# or Rebol on DotNET

2003-10-15 Thread Andrew Martin
Volker wrote: > "do it this way. you need a current version of rebol" > specially when non-gurus talk to others. "No, no! You need one of the beta versions of Rebol for your OS." (pre- Core 2.5.6 not so long ago) :) Andrew J Martin Attendance Officer & Grail Jedi. R(H)ash and impetuous... Colens

[REBOL] Re: CMS in REBOL?

2003-10-15 Thread Andrew Martin
Carlos wrote: > Is there some Content Management System written in REBOL? Perhaps you could elaborate on CMS means to you? What "stuff" would be accomplished by having and using a CMS? Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 e

[REBOL] Re: Multithreading with Rebol

2003-10-15 Thread Andrew Martin
Gabriele wrote: > ...one of the reason why Nenad started the R# project (not to be confused with Andrew's R# :), is to create a multithreaded REBOL clone. Perhaps R# was a r(H)ash choice... :) Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Napier. Tel: 6

[REBOL] FW: Re: Bad accent causes problem

2003-10-14 Thread Andrew Martin
Hi Norman, R> What im trying to accomplish is to reverse a bitset! R> Or better.. to extract to complete contence from a bitset! G> I think Brett(?) had a module that did that, but I'm not sure where it G> is. I might have it here somewhere if nobody else knows. Perhaps Romano's email from ea

[REBOL] Re: Changing color of text in a button

2003-10-14 Thread Andrew Martin
> I tried to do the following : > > myfunc: func [arg][arg/colors: reduce [red blue] show arg] > view layout [ > "button1" [myfunc face] > "button2" [myfunc face] > ] > > This worked, but _all_ my buttons text colors are changed... I tried something similar, but couldn't get the buttons

[REBOL] R# or Rebol Sharp on DotNET

2003-10-14 Thread Andrew Martin
Here's what I've got after two or three evenings of work: /* Name: R# Title: "R# (Rebol Sharp)" File: %R#.cs Purpose: "Allows C# to read Rebol and Rebol Sharp data values." Author: "Andrew Martin" Date: 15/October/2003 Version: 0.1.0 */ using System; usi

[REBOL] Re: Rebol# or Rebol on DotNET

2003-10-13 Thread Andrew Martin
Further thinking: It'd would be nice to have a rebol value that contains units. Like: 12% 50Km/H 60MPH 99.999% And the parts could be accessed like money! datatypes: >> x: US$123.45 == US$123.45 >> first x == "US" >> second x == 123.45 >> For example: >> x: 50Km/H == 50Km/H >>

[REBOL] Rebol# or Rebol on DotNET

2003-10-13 Thread Andrew Martin
Just been thinking through this, while learning how to write a Rebol parser in C# (it's very tricky without using Rebol's 'parse...). Looking at the lexer/parse combination, Rebol only seems to need a lexer, because the tokens are Rebol values. The only trickery is balanced braces {} for long str

[REBOL] So where's the German speaking Rebol list?

2003-10-09 Thread Andrew Martin
> Falls es sich um einen einzelnen Irrläufer gehandelt hat, sollte sich das für Sie erledigt haben, falls > nicht, dann sendes Sie bitte eine Email an > >[EMAIL PROTECTED] > > mit dem > >Subject: unsubscribe > > danach sollten Sie aus der Liste wieder ausgetragen sein. Andrew J Marti

[REBOL] Re: [newbie] Sending prints to std out

2003-10-08 Thread Andrew Martin
> Scite is my text editor of choice, which has an execution option that captures the consoles output. > > The problem is that Rebol's virtual console doesn't seem to send the output to std out. > > Is there something I can do so that it does? You could try invoking Rebol as a CGI and see if tha

[REBOL] The needs that Rebol answers

2003-10-08 Thread Andrew Martin
bryan wrote (in another thread): > Other people on this list do find Rebol practical for their needs, as well as their aesthetics, can you specify what exactly in your needs Rebol answers? For me, Rebol fills my need (want) to generate HTML from plain text (%eText.r), and generating HTML, XHTML,

[REBOL] Re: New Q module - Translate

2003-10-07 Thread Andrew Martin
pekr wrote: > What I miss with Q (otoh I haven't read any docs yet) - is - you run it and ask yourself - how do I use it? Some kind of wizard would help. Perhaps a Help|About and a Help|Wizard menu function would be useful? :) Andrew J Martin Attendance Officer & Grail Jedi & Q Heretic... Colen

[REBOL] Re: Printing Dialect

2003-10-02 Thread Andrew Martin
Hi, Gabriele. You wrote: > AJM> understand for people not used to C#. I've also thought of using PostScript and PDF, but they seem more complex to me. > How should the PDF Maker be simplified? So I can add to the to do list for version 2. Just to clear things up a bit, I don't think that Gabrie

[REBOL] Multi-lingual scripts

2003-10-01 Thread Andrew Martin
Carlos wrote: > PS: I have added one of yours scripts (along with proper credits) published at REBOL's Cookbook to REBOLBRASIL Forum You're welcome to translate into Portuguese and publish my Rebol scripts on your site. The same applies to French people; they can translate my scripts into Frenc

[REBOL] Re: steel... darn life

2003-10-01 Thread Andrew Martin
max wrote: > The only thing I wish to ensure here is that there is no specific "commercial use" license. Would you accept money, if I and Colenso High School made money with your software? :) Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Napier. Tel: 64-6-83

[REBOL] Re: RES: Re: REBOL in XEMACS

2003-10-01 Thread Andrew Martin
Tim noted: > *note* that 'sub and 'def are not plain vanilla function constructs but are complements of Andrew Martin Note that Rebol has no key words which is why key word highlighting makes no real sense for Rebol, particularly if one is working with dialects of Rebol. An

[REBOL] Re: Smart Client

2003-10-01 Thread Andrew Martin
max wrote: > Would a dynamically skinnable and dynamically locale switchable alternative to vid change your mind about using windows ui? Yes, I'd to see Steel. :) Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336

[REBOL] Re: Smart Client

2003-09-30 Thread Andrew Martin
Michael Weber wrote: > I see you're speechless! :) :D Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and

[REBOL] Re: Smart Client

2003-09-30 Thread Andrew Martin
Hi, Romana. > Do you want a patch? Yes, please. I'll put it into my %Patch.r script so more people will know about it and can use it. > I used many languages in my life and I have always used external libraries and third party tools, why cannot it happen with Rebol? I agree. At the moment I fe

[REBOL] Re: Problem with parsing ISO-8859-1 encoded text

2003-09-30 Thread Andrew Martin
DideC wrote: > The 'opt has made the difference and now it works, but I'm not sure to understand why 'opt should be use for paren!. > > I suppose that your last remark (about shorter string after modifying it) was the problem. I believe Romano meant that there's a bug in 'parse that it should ke

[REBOL] Re: Smart Client

2003-09-30 Thread Andrew Martin
Volker wrote: > Ah flaming! (whirling torchlight). Hi! (Ouch!) :) > An Andrew Martin on this list needed as much lines with "using" as i would for the whole viewer! ;) I'm no expert, but with my little program in a hour or two, I achieved far more Windows user interfa

[REBOL] Re: Smart Client

2003-09-30 Thread Andrew Martin
max wrote: > Doesn't IOS do just that!? > > (except for printing, which could be done with html and a pro license)... Except for multi-line text boxes, where cursor movement isn't handled correctly. Here's an example: example line 1 blah blah blah blah example li

[REBOL] Re: Smart Client

2003-09-30 Thread Andrew Martin
> > Making it easy for developers to tie XML Web services into their smart client applications. > XML Web services in Microsoft terms is SOAP, a never ending hell which delivers cross-platform compatibility to anyone on a Microsoft platform. > :) I want to create a DotNet program which understan

[REBOL] Re: Smart Client

2003-09-30 Thread Andrew Martin
> "..the promise of REBOL,.." - my experience with REBOL has taught me things I didn't expect to learn and given me an new tool to explore ideas. I'm sure we all had different expectations of REBOL when we picked it up. My joy with REBOL is to apply it more areas than I expected, my frustration

[REBOL] Re: rebol support for sound

2003-09-29 Thread Andrew Martin
Mike wrote: > I assume rebol view will be up to the UI and event model task but what support will Rebol View/Core provide in the way of playing sound files. IIRC there's a tutorial by Carl somewhere in http://www.rebol.com which shows how to use Rebol to play sound files. Andrew J Martin Attenda

[REBOL] Re: cgi binary data xfer...

2003-09-16 Thread Andrew Martin
max wrote: > Q1: how do I initiate a binary xfer in cgi/html, so that instead of displaying binary data as a lump of text in the browser, I get a file transfer dialog. > Q2: how do I make 'print work like a write/binary so that the read data actually stays binary... Hi, max! Here's what I use in

[REBOL] Re: steel latest news.. pretty long... Ignore if you wish..

2003-09-16 Thread Andrew Martin
max wrote: > So... I will build my own license > the SCL - Steel Community License. > -- > > I was about to put it in this mail, then I figured it > would have been too long a mail... so I'll just post the > license with the rest of the new site when its ready. > > The license will be

[REBOL] Re: to/make datatype!

2002-10-17 Thread Andrew Martin
lier. Here's my solution: Type: 'string!; with a lit-word! Data: 123 to do Type Data Type: "string!"; and with a string! Data: 123 to do Type Data I hope that helps! Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Field color change on error.

2002-10-17 Thread Andrew Martin
ue try :value [get/any 'value] ] Perhaps my %Patches.r script may be of use? It's attached and available from my site. Andrew Martin Beta Rebol-er... ICQ: 26227169 http://valley.150m.com/ -><- -- Attached file included as plaintext by Listar -- -- File: Patches.r Rebol [ Name: &

[REBOL] Re: 16-Oct-2002/16:48:54+13:00

2002-10-15 Thread Andrew Martin
And it arrived in New Zealand at: 16-Oct-2002/17:38:54+13:00 Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- - Original Message - From: "Andrew Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 16, 2002 4:48 PM Sub

[REBOL] 16-Oct-2002/16:48:54+13:00

2002-10-15 Thread Andrew Martin
16-Oct-2002/16:48:54+13:00 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Anchor? - A newbie question

2002-10-15 Thread Andrew Martin
a label? For example (in BASIC): 10 A = A + 1 20 GOTO 10 Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02, 1997]

2002-10-14 Thread Andrew Martin
Watch out for line breaks! I didn't worry about nice padding and I haven't checked for "<" and ">" and "&" values. I've left object! values as an exercise for the reader, as this depends more upon the receiver. :) Andrew Martin ICQ: 26227

[REBOL] Re: idioms to reduce logic clutter ?

2002-10-12 Thread Andrew Martin
Username and password do not match. Please } > {}{try again}{} > { > Forgot your login or need to register ? > Please enter your email address here: > > > } > ] > quit > ] > ] Just a few suggestions. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02, 1997]

2002-10-12 Thread Andrew Martin
Dick wrote: > I prefer: > >Average expressionwhichyieldsanarrayofdata >From my box of tricks: Average: func [ "Averages the values in the Block." Block [block!] "Block of values." ] [ divide accumulate 0 Block :+ length? Block ] :) Andrew Ma

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02, 1997]

2002-10-10 Thread Andrew Martin
to understand. Don't ask me; I'm still thinking about it! Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Fw: Re: template driven development? Re: Rebol Server Pages

2002-10-09 Thread Andrew Martin
Here's a site that has another take on "high style" design: http://philip.greenspun.com/panda/ Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: template driven development? Re: Rebol Server Pages

2002-10-09 Thread Andrew Martin
replace "::" with "/", and "." with "/". Except that I think the example above is faulty. I'm under the impression that the presentation stuff will vanish, as it's replaced? :-\ I could well be wrong. But that's enough rambling from me. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Rebol Server Pages

2002-10-08 Thread Andrew Martin
<%map Data func [Foo Bar] [reform [%><%Foo%><%Bar%><%]]%> And here's my test script: write %Test.html probe RSP read %Test.rsp browse %Test.html halt Using it with a web server would be specific to that web server. On Xitami, I'd put a line at the top of the .rsp

[REBOL] Re: Project introduction ... Re: Re: RFC: Rebol Framework

2002-10-08 Thread Andrew Martin
other instances of the object in the net and delete them. It's far more simple and quicker to just clear the block! (if necessary) then add in fields (Name Value pairs) as required. Sure, if you're just storing a tree of objects your system will work, but not if one has network of values

[REBOL] Re: template driven development? Re: Rebol Server Pages

2002-10-08 Thread Andrew Martin
or? m-err: try [ do m-code ] [ m-error (mold disarm m-err) ] m-page: copy m-mark ) ] ) ] ] [ prin m-page true ] ] Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- - Original Message - From: "Jason Cunliffe" <[EMAIL PROTECTED]> To: <

[REBOL] Re: Rebol Server Pages

2002-10-07 Thread Andrew Martin
Here's a better version with Maarten's suggested change. Rebol [ Name: 'RSP Title: "Rebol Server Pages" File: %RSP.r Author: "Andrew Martin" eMail: [EMAIL PROTECTED] Web: http://valley.150m.com Date: 8/October/2002 Version: 1.1.0

[REBOL] Re: if and parens

2002-10-07 Thread Andrew Martin
Gregg wrote: > The more code I remove, the better things seem to work. :) I agree. I've found exactly the same as well. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscri

[REBOL] Re: Rebol Server Pages

2002-10-07 Thread Andrew Martin
"" ] 'Hide really deserves a better name. Any one got a better name? Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: diff or compare

2002-10-07 Thread Andrew Martin
Graham wrote: > Has anyone written a compare utility that reports where two text files are the same? Also, it would be very nice if it worked with directories and Rebol block! values as well. Andrew Martin I've got my fingers crossed... ICQ: 26227169 http://valley.150m.com/ ->

[REBOL] Re: template driven development? Re: Rebol Server Pages

2002-10-07 Thread Andrew Martin
, and keep this: <%]]%> to the right of the first example row, and put these: <%Foo%> and: <%Bar%> where the contents of the columns are meant to go. I don't think that would be too hard?! :) The only time your effort needs to change if the numbe

[REBOL] Re: Parsing bug?

2002-10-07 Thread Andrew Martin
It looks like you've discovered a 'parse bug. I've forwarded this to feedback. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- - Original Message - From: "Franck MARCIA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Octobe

[REBOL] Rebol Server Pages

2002-10-06 Thread Andrew Martin
Note that 'RSP is based on Rebol's 'build-markup. Here's the test script: write %Test.html RSP read %Test.rsp browse %Test.html And here's the generated HTML (I viewed the source and cut and pasted to this email: Test Test Have a nice day! The date and time now is:

[REBOL] Re: Is the list down?

2002-10-06 Thread Andrew Martin
PROTECTED] with Subscribe in the subject line. That should subscribe your email address. eScribe shows how much you've missed out. See: http://www.escribe.com/internet/rebol/index.html I've sent this message both to the list and directly to your email address to make sur

[REBOL] Re: if and parens

2002-10-05 Thread Andrew Martin
Andrew wrote: > Try this instead: > > foreach elt read %. [if 'file = get in info? to-file elt 'type [print elt]] And this is far more simpler: foreach File read %. [if #"/" <> last File [print File]] Andrew Martin ICQ: 26227169 http://valley.150m.com/

[REBOL] Re: if and parens

2002-10-05 Thread Andrew Martin
Near: if get in info? to-file That's because the '= is infix; it grabs the left and right arguments, as it were. Try this instead: foreach elt read %. [if 'file = get in info? to-file elt 'type [print elt]] Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- - Ori

[REBOL] Re: Rebol pickling recipes ?

2002-10-04 Thread Andrew Martin
nd restore cyclic or net-like Rebol data structures. I haven't yet updated them for the latest Rebol beta versions. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- Attached file included as plaintext by Listar -- -- File: Freeze.r Rebol [ Name: 'Freeze

[REBOL] Re: Newbie Q: Search and delete from a Block

2002-10-03 Thread Andrew Martin
Word or block of words to set each time (will be local) (Type: get-word word b lock) data -- The series to traverse (Type: series) body -- Block to evaluate. Return TRUE to remove. (Type: block) >> remove-each Item X: ["hello" "there" "this" "is" &

[REBOL] Re: build-markup and Apache set-up?

2002-10-02 Thread Andrew Martin
at all? I think it won't affect the HTML. Easiest way is to not include in the original HTML source. Write a little Rebol script to insert this line to every HTML page just before it's sent to the server. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe

[REBOL] Re: build-markup and Apache set-up?

2002-10-02 Thread Andrew Martin
usr/bin/rebol -cs build-tag what? How do I specify the input (self?) You'll need to write a little script in the above command line. Something like: #! usr/bin/rebol -cs "build-markup %Page.rsp" Where "%Page.rsp" is the filename of the page the above line is in.

[REBOL] Re: RE : Re: RE : MSSQL results

2002-10-02 Thread Andrew Martin
a second 'copy? For example: sql: { select top 1 * from customers select count(*) nb from customers } insert dbport sql result-rows: copy dbport result-rows2: copy dbport; Get the second set? I know nothing more, sorry. I hope that helps! Andrew Martin ICQ: 26227169 http://valley.150m.

[REBOL] Re: array referencing

2002-10-02 Thread Andrew Martin
Rebol HQ's list of defects to fix. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Wanted: a Libmaster - and a FAQ posse

2002-09-29 Thread Andrew Martin
nswer to that!" or, "hang on, that's wrong, I'll just change it". Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Introducing REBOL/Base - FAQ

2002-09-29 Thread Andrew Martin
> A: No. But, there will be a similar version of REBOL/View (as of yet unnamed, got any ideas?). Rebol/Light Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the s

[REBOL] Re: Introducing REBOL/Base - FAQ

2002-09-29 Thread Andrew Martin
> A: No. But, there will be a similar version of REBOL/View (as of yet unnamed, got any ideas?). Rebol/Window :) Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in th

[REBOL] Re: Introducing REBOL/Base - FAQ

2002-09-29 Thread Andrew Martin
Carl wrote: > We want to see what developers think of this idea. I think it's a great idea for CGI programs. Just tried it out on my Wiki, and it's noticably quicker to deliver pages to the browser. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubsc

[REBOL] Re: Teaching Rebol => was:{Re: Re: Parsing comment}

2002-09-28 Thread Andrew Martin
how new software will save them money (or even make them money!) and enable them to meet the legal obligations, and assist teachers, parents, students. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

  1   2   3   4   5   6   7   8   >