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
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
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:
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
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}
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
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
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]]
]
]
]
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:
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:
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
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
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
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
--
.--{
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
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
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]
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,
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/
--
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
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
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
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
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:
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
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
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:
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
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
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
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 [
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
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?
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
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..),
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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.
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
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:
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]
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
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
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
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
Yo.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with unsubscribe in the
subject, without the quotes.
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:
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 -
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
62 matches
Mail list logo