[REBOL] Re: fields and keyboard

2002-01-31 Thread [EMAIL PROTECTED]
Hi, can someone explain me what is exactly ctx-text? I tried using ? ctx-text but Rebol shown me a lot of code! === Thanks Romano and Gabriele, You confimed my suspicision. As the ctx-text/edit feel object is now, there is no simple way to extend

[REBOL] Re: 'word...

2002-01-31 Thread [EMAIL PROTECTED]
WOW! It's true! Using get panelName... it functions! Thank you very much for your help! I discovered another important Rebol word! Bye! Inside your function panelName stands for the actual literal word insertAnagrafica not the value you expected (a face object). This is because you defined

[REBOL] Re: 'word...

2002-01-31 Thread [EMAIL PROTECTED]
Why I should insert that extra square-bracket? If I insert it Rebol reports me an error! ** Syntax Error: Missing [ at end-of-block ** Near: (line 68) ]] [ === Did anyone notice that Alessandro's function is missing a square bracket? show-panel:

[REBOL] Re: 'word...

2002-01-31 Thread Andrew Martin
Why I should insert that extra square-bracket? If I insert it Rebol reports me an error! ** Syntax Error: Missing [ at end-of-block ** Near: (line 68) ]] [ You've got more missing square brackets! :-) Post the code to the list and we'll point it out. Andrew Martin ICQ: 26227169

[REBOL] Re: 'word...

2002-01-31 Thread [EMAIL PROTECTED]
I send all the code, but... my source code (without extra square brakets) functions correctly! SOURCE CODE: SHOW-PANEL: func [ 'panelName {Nome del pannello da visualizzare}

[REBOL] Re: fields and keyboard

2002-01-31 Thread Brett Handley
Hi, Hi, can someone explain me what is exactly ctx-text? I tried using ? ctx-text but Rebol shown me a lot of code! Short answer 1: It is a lot of code! :) Short answer 2: It holds a lot of the functions that FIELD, AREA, TEXT, H1, H2, etc. need. Longer answer: You can build VID programs

[REBOL] Re: Make_user_manual.r ?

2002-01-31 Thread Brett Handley
Hi Gregg and Sunanda, So I redefine wait as a way for the app to call play-app code when it wants some imput. Now this has been ok, but network activity does an implied wait so if I want a load-thru to work I have to allow the actual wait to happen, but then I don't know if the wait was for

[REBOL] Re: fields and keyboard

2002-01-31 Thread Cyphre
Hi, I didn't read all about this thread but if I understand it here is another solution: stylize/master [ upper-case-field: field with [ feel: make feel [ redraw: func first :redraw append second :redraw [if act = 'show [face/text: uppercase face/text]] ] ] ]

[REBOL] Re: fields and keyboard

2002-01-31 Thread [EMAIL PROTECTED]
Thanks a lot! Hi, Hi, can someone explain me what is exactly ctx-text? I tried using ? ctx-text but Rebol shown me a lot of code! Short answer 1: It is a lot of code! :) Short answer 2: It holds a lot of the functions that FIELD, AREA, TEXT, H1, H2, etc. need. Longer answer:

[REBOL] Re: fields and keyboard

2002-01-31 Thread Brett Handley
Ooo I like that. :) Brett. - Original Message - From: Cyphre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 8:47 PM Subject: [REBOL] Re: fields and keyboard Hi, I didn't read all about this thread but if I understand it here is another solution:

[REBOL] Re: 'word...

2002-01-31 Thread Andrew Martin
Ack! I'm going blind! :-) Sorry about that! It's my mistake. The right number of square brackets are showing. It's the formatting that must have thrown me -- at least that's my excuse! :-) Andrew Martin ICQ: 26227169 http://valley.150m.com/ -- -- To unsubscribe from this list, please send

[REBOL] Re: fields and keyboard

2002-01-31 Thread [EMAIL PROTECTED]
What is that?! I'm sorry, I still find some problems to understand Rebol code. Can you explain me exactly what that program do? How does it function? Thanks for your patience! === Hi, I didn't read all about this thread but if I

[REBOL] What no DOS

2002-01-31 Thread rick falls
Hey why not a DOS version of REBOL. With the small footprint of REBOl core I could dust off and make use of my old 486PC. And REBOl is way easier than Qbasic. _ Get your FREE download of MSN Explorer at

[REBOL] Re: What no DOS

2002-01-31 Thread Chris
rick falls wrote: Hey why not a DOS version of REBOL. With the small footprint of REBOl core I could dust off and make use of my old 486PC. And REBOl is way easier than Qbasic. Why not use a cut down linux distro and use one of the linux versions of REBOL? Chris -- .--{

[REBOL] Re: What no DOS

2002-01-31 Thread Petr Krenzelok
rick falls wrote: Hey why not a DOS version of REBOL. With the small footprint of REBOl core I could dust off and make use of my old 486PC. And REBOl is way easier than Qbasic. I know that DOS is easier to use than Linux, but well, it is 16bit. And ... I can hardly imagine RT would put

[REBOL] curious use of LENGTH?

2002-01-31 Thread Joel Neely
I happened to do SOURCE LIST-DIR this morning, and something caught my eye; at the end of that function is the following excerpt: ... s: make string! 0 foreach file dir [ append s file while [((length? s) // max) 0] [append s ] if

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Romano Paolo Tenca
Hi Joel, s: make string! 0 foreach file dir [ append s file while [((length? s) // max) 0] [append s ] if (length? s) 60 [ print s clear s ] ] if length? s [print s]

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Gabriele Santilli
Hello Joel! On 31-Gen-02, you wrote: JN Notice the last line -- I have no clue what it means in REBOL JN to use an integer-valued expression as the condition of IF. I My guess is that that was written by someone who had spent all the day coding in C. ;-) Jeff? Holger? Carl? Regards,

[REBOL] Re: fields and keyboard

2002-01-31 Thread Gabriele Santilli
Hello Romano! On 31-Gen-02, you wrote: RT A little less hack (i use face/user-data for flag): Why not FLAG-FACE and FLAG-FACE? ? Regards, Gabriele. -- Gabriele Santilli [EMAIL PROTECTED] - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/ --

[REBOL] Re: R: Re: When to use refinements? : was = {Re: Re: R: Re: VID: choice arguments}

2002-01-31 Thread Gabriele Santilli
Hello Alessandro! On 31-Gen-02, you wrote: AM Even in English language, in Italian language (my language!) AM there is coherence. Hmm... AM I think Jason is right. Even if I'm using a dialect, even AM this one should be coherent. When I find an exception in a Yes. But you're all missing

[REBOL] Re: fields and keyboard

2002-01-31 Thread Gabriele Santilli
Hello Brett! On 31-Gen-02, you wrote: BH Maybe there should be some special user-defined editing BH function that can be called for easy extended functionality. What about changing just /engage and placing a function between edit-text and the event? I.e. change the line: key [edit-text

[REBOL] Re: fields and keyboard

2002-01-31 Thread Romano Paolo Tenca
Hi, Brett stylize/master [ upper-case-field: field with [ feel: make feel [ redraw: func first :redraw append second :redraw [if act = 'show [face/text: uppercase face/text]] ] ] ] Ooo I like that. :) Is a taste question, but... If the string is short and

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Ladislav Mecir
Hi Joel, even while [((length? s) // max) 0] [append s ] looks unusual to me. I normally use: insert/dup tail s max - ((length? s) // max) Cheers Ladislav - Original Message - From: Joel Neely [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Ladislav Mecir
Hi Gabriele, simple and the most probable explanation. Cheers Ladislav - Original Message - From: Gabriele Santilli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 2:23 PM Subject: [REBOL] Re: curious use of LENGTH? Hello Joel! On 31-Gen-02, you wrote:

[REBOL] VID focus questions

2002-01-31 Thread David Hawley
How does one do the following: 1: give focus to a check, choice, button 2: keep focus off of an info or list 3: make radio's non-exclusive 4: make a choice keycode pickable I have a layout with fields which tab OK, then the cursor gets stuck in an info field and one has to mouse to get to

[REBOL]

2002-01-31 Thread [EMAIL PROTECTED]
Hi, can someone tell me if exists a function (or similar) to map a serie over another one? E.G.: (used to translate the month names from italian to english): ['GEN 'FEB 'MAR 'APR 'MAG ] -- ['JAN 'FEB' 'MAR 'APR 'MAY] thanks! Alessandro Manotti

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Ladislav Mecir
Hi myself, a (stupid) mistake. It should have been: insert/dup tail s mod - length? s max , but my mod function isn't a mezzanine (can be found in http://www.sweb.cz/LMecir/rounding.r) - Original Message - From: Ladislav Mecir [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Romano Paolo Tenca
Hi, Joel, Gabriele My guess is that that was written by someone who had spent all the day coding in C. ;-) Now i understand! Also a lenght of 0, print the string!... --- Ciao Romano -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the

[REBOL] Re: fields and keyboard

2002-01-31 Thread Romano Paolo Tenca
I left the work to Brett... :-) --- Ciao Romano - Original Message - From: Gabriele Santilli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 2:15 PM Subject: [REBOL] Re: fields and keyboard Hello Romano! On 31-Gen-02, you wrote: RT A little less hack

[REBOL] Re: [REBOL]

2002-01-31 Thread Joel Neely
Hi, Alessandro, Pardon the fragmentary answer, but my Italian is non-existent! ;-) [EMAIL PROTECTED] wrote: Hi, can someone tell me if exists a function (or similar) to map a serie over another one? E.G.: (used to translate the month names from italian to english): ['GEN 'FEB 'MAR

[REBOL] Re: fields and keyboard

2002-01-31 Thread Cyphre
Hi Romano, - Original Message - From: Romano Paolo Tenca [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 3:04 PM Subject: [REBOL] Re: fields and keyboard Hi, Brett stylize/master [ upper-case-field: field with [ feel: make feel [

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Joel Neely
Hi, Romano, Romano Paolo Tenca wrote: From Core 3-23 about 'if: ... Any suggestions on why the above wasn't written simply as PRINT S If 's would be empty, it would print a newline. If any numeric value counts as TRUE, then if length? s [print s] and print s do

[REBOL] Re: fields and keyboard

2002-01-31 Thread Romano Paolo Tenca
Hi Gabriele, I.e. change the line: key [edit-text face event get in face 'action] to something like: key [edit-text face face/pre-process event get in face 'action] I am not able to change an event field. Have i missed something or you are thinking to an hack like my first one?

[REBOL] Re: What no DOS

2002-01-31 Thread Brian Wilson
I think DOS has a small footprint because it lacks features that would allow REBOL to run, like a reliable network stack and multitasking. Shake the dust off the PC and run linux on it, it should be fine. I ran linux for years on a 486 w/ 16MB and a 250 MB hd. Hey, but what about this old

[REBOL] Re: What no DOS

2002-01-31 Thread [EMAIL PROTECTED]
Heh. I don't think a DOS version of View would be necessary at all. I mean, while I love Windows (that's right, you heard me: I LOVE Windows!!), sometimes I just feel at home in a console. Course, I've been using various personal computers for about 18 years now (and I'm only 24..),

[REBOL] Re: What no DOS

2002-01-31 Thread rick falls
Ok...OK.. It's just that there is a lot of people who know DOS and have access to it, MS-DOS or FreeDOS.I can't seem tp find my CP/M disks ;-) From: Brian Wilson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL] Re: What no DOS Date: Thu, 31 Jan 2002 10:29:28

[REBOL] ANN: make-doc-pro 1.0.2

2002-01-31 Thread Robert M. Muench
Hi, I just released make-doc-pro version 1.0.2 You can find it on my homepage. There are some bugs fixed: 1.0.2 Compiling two times the same file resulted in wrong header code for the second run. Bullets and number can now be used inside tables. Use newline to seperate the bullets/enums from

[REBOL] How to capture keyboard tab when typing in an 'area?

2002-01-31 Thread alan parman
Help! How do I change the feel (or whatever) for an 'area so that when I enter a tab from the keyboard, a tab is entered into the area/text. By default, tab moves you around to another pane of the main face. -- ___ Sign-up for your own FREE

[REBOL] Re: curious use of LENGTH?

2002-01-31 Thread Gregg Irwin
Hi Joel, If any numeric value counts as TRUE, then if length? s [print s] and print s do exactly the same thing, since the IF would always be satisfied! Hence my question, why the IF ? I'd say it shouldn't be there, provided they intended to print just a newline (in which case I

[REBOL] Re: What no DOS

2002-01-31 Thread [EMAIL PROTECTED]
Yeah, but who really develops for DOS anymore anyways? No networking, 16-bit environment, 8.3 filenames, no threading...? And beware most Linux distributions these days anyways. They LIKE to install a LOT of stuff now. I'm not looking for a debate here - I'm just talking from personal

[REBOL] Re: (No subject)Date: Thu, 31 Jan 2002 12:42:57 -0700

2002-01-31 Thread Gregg Irwin
Hi Alessandro, Joel already answered your question, so I'll digress a bit with a really neat bit of locale awareness code that Andrew Martin posted a while back. --Gregg ;-- From Andrew Martin use [Months Index] [ Months: system/locale/months forall Months [ Index: index?

[REBOL] Re: Make_user_manual.r ?

2002-01-31 Thread Gregg Irwin
So I redefine wait as a way for the app to call play-app code when it wants some imput. Now this has been ok, but network activity does an implied wait so if I want a load-thru to work I have to allow the actual wait to happen, but then I don't know if the wait was for the network or for

[REBOL] Re: How to capture keyboard tab when typing in an 'area?

2002-01-31 Thread sterling
Hello, and welcome to Obscure Undocumented Features Of REBOL!! Today's question comes from Alan who is trying to make sense of some of the confusing behaviors of VID styles. Congratulations Alan, your question was chosen at random from the bottom of the email box. Change the flags in the

[REBOL] Re: ANN: make-doc-pro 1.0.2

2002-01-31 Thread pat665
Hi robert, I just download the new make-doc-pro-102.zip. Running make-doc-pro.r gives an error : ** Script Error: include has no value ** Where: do-boot ** Near: include %public/rm_library.r destinationdirectory: make file! Another little thing, in the make-doc-pro.txt introduction is

[REBOL] E-Mail attachments

2002-01-31 Thread David B
I'm trying to send an email that has a text file as an attachment. I finding very little info on how to do this. The example on the rebol site utilizes some sophistcated code and I'm still a bit of a newbie with rebol so it's no help. Does anyone have a simple example of how to do this? Or can

[REBOL] Vanilla HELP! :)

2002-01-31 Thread Ryan Christiansen
I've installed Vanilla 0.5.1 on a Windows XP Pro machine running IIS. Here is what I know is correct: 1. The shebang is correct. 2. IIS is set up to execute REBOL scripts and test scripts work fine. REBOL is set up to use all CGI verbs. 3. I have set my Web Sharing permissions for all /cgi-bin

[REBOL] Vanilla HELP! :)

2002-01-31 Thread Ryan Christiansen
I've installed Vanilla 0.5.1 on a Windows XP Pro machine running IIS. Here is what I know is correct: 1. The shebang is correct. 2. IIS is set up to execute REBOL scripts and test scripts work fine. REBOL is set up to use all CGI verbs. 3. I have set my Web Sharing permissions for all /cgi-bin

[REBOL] Re: Vanilla HELP! :)

2002-01-31 Thread Christian Langreiter
I've installed Vanilla 0.5.1 on a Windows XP Pro machine running IIS. Here is what I know is correct: Unfortunately I have no IIS available to test. Why not just use Apache, where everything works, always (uhm, almost always ;-)? I guess it's an IIS-specific anomaly in the request reading

[REBOL] R: Re: [REBOL]

2002-01-31 Thread Alessandro Manotti
I found some solutions, I wish to propose them to you: - 1 -- month-list: [gen jan feb feb mar mar apr apr mag may giu jun lug jul ago aug set sep ott oct nov nov dic dec] select month-list 'feb select month-list 'giu Of course, it is good only for ITALIAN-ENGLISH (for

[REBOL] write NULL value in a Database...

2002-01-31 Thread Alessandro Manotti
Hi! I have Rebol/Command and can manage databases. I have a very big problem: I created an Access DB (via ODBC), I created a table with a field datetime. Ok... I need to INSERT (SQL) a null value... but I cannot! my table1: field type size --- -- - name

[REBOL] Re: How to capture keyboard tab when typing in an 'area?

2002-01-31 Thread Gregg Irwin
Excellent reply Sterling, both from a humor and technical standpoint. :) --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.

[REBOL] Re: E-Mail attachments

2002-01-31 Thread ronald
Relayed by Gregg on october the 11 th 2001 (question of Koie Smith) Phil Bevan recently posted this to someone else asking a similar question: snip Asuming this scripts lives in the same directory as attach.r bay.jpg you can try rebol [] ; assumes bay.jpg attach.r are in the same direcory do

[REBOL] Re: Vanilla HELP! :)

2002-01-31 Thread Jason Cunliffe
Hi Ryan 1. If you are using vanilla be sure to register for vanilla-pudding mailing list. Very ittle traffic, but vanilla developers are there. 2. The first debug advice for vanilla is to edit your /exec/vanilla.r file as follows: Find the first line which says ; print Content-type:

[REBOL] Re: Vanilla HELP! :)

2002-01-31 Thread Eberhard Lutz
Chris, This is probably the old error I detected last summer which prevents one of using IIS w/Vanilla. MS nurtures this bug since 3 versions now! See also: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176113 Eberhard -Original Message- From: [EMAIL PROTECTED]

[REBOL] Re: R: Re: [REBOL]

2002-01-31 Thread Joel Neely
Hi, Alessandro, I suggest using strings instead of words. Strings always evaluate to themselves, while some expressions could end up trying to take the value of MAR or GIU with unexpected results! ;-) Alessandro Manotti wrote: month-list: [gen jan feb feb mar mar apr apr mag may giu jun

[REBOL] Re: Vanilla HELP! :)

2002-01-31 Thread Ryan Christiansen
Christian- Thanks for the link to the VanillaSBX. The reason I tried IIS in the first place is because I could not find an active VanillaSBX link on langreiter.com. Also, please check into the CGI non-parsing headers problem which was pointed out in a different response. IIS is easy to

[REBOL] Re: Vanilla HELP! :)

2002-01-31 Thread Ryan Christiansen
The link to VanillaSBX was broken on langreiter.com. But hey, it's a Wiki! So I fixed it myself. :) From: Christian Langreiter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL] Re: Vanilla HELP! :) Date: Fri, 1 Feb 2002 00:06:57 +0100 I've installed

[REBOL] Re: What no DOS

2002-01-31 Thread Brian Wilson
On Thu, 31 Jan 2002, [EMAIL PROTECTED] wrote: And beware most Linux distributions these days anyways. They LIKE to install a LOT of stuff now. I'm not looking for a debate here - A default Redhat 7.2 install forced me to use a min. 2 GB /usr partition. Mandrake ships code compiled for a 586

[REBOL] Re: REBOL Books

2002-01-31 Thread atruter
Yo. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.

[REBOL] Re: (No subject)Date: Thu, 31 Jan 2002 12:42:57 -0700

2002-01-31 Thread Andrew Martin
Joel already answered your question, so I'll digress a bit with a really neat bit of locale awareness code that Andrew Martin posted a while back. Thanks, Gregg! It's available online at: http://valley.150m.com/Rebol/Values/Month.r and:

[REBOL] Re: fields and keyboard

2002-01-31 Thread Gabriele Santilli
Hello Romano! On 31-Gen-02, you wrote: RT I am not able to change an event field. Have i missed RT something or you are thinking to an hack like my first one? You're right, the only option is the second I proposed. Regards, Gabriele. -- Gabriele Santilli [EMAIL PROTECTED] - Amigan -

[REBOL] Re: R: Re: [REBOL]

2002-01-31 Thread [EMAIL PROTECTED]
Using triples is a good idea! thanks for other suggestions! === Hi, Alessandro, I suggest using strings instead of words. Strings always evaluate to themselves, while some expressions could end up trying to take the value of MAR or GIU with