[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: '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: '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 http:

[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: f

[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

[REBOL] Re: 'word...

2002-01-30 Thread Andrew Martin
ound as well. :-) Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- - Original Message - From: "Cassani Mario" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 5:08 AM Subject: [REBOL] Re: 'word... > Ciao Alessandro, >

[REBOL] Re: 'word...

2002-01-30 Thread Brett Handley
Hi, > I found another problem... please look at the code below: > > show-panel: func ['panelName] [ > panels/pane: panelName > ] > show-panel insertAnagrafica > can someone help me? can someone explain me why does not function? Inside your f

[REBOL] Re: 'word...

2002-01-30 Thread Cassani Mario
Ciao Alessandro, > mhmmm > > this is a function when I supply the arguments I must call this > function as follows: > >show-panel myPanel > > but I cannot! Since Rebol tries to elaborate "myPanel" word! > therefore > I must the function as follows: > >show-panel 'myPanel

[REBOL] Re: 'word...

2002-01-30 Thread [EMAIL PROTECTED]
mhmmm this is a function when I supply the arguments I must call this function as follows: show-panel myPanel but I cannot! Since Rebol tries to elaborate "myPanel" word! therefore I must the function as follows: show-panel 'myPanel and... the problem is the same: the funct

[REBOL] Re: 'word...

2002-01-30 Thread Cassani Mario
Hallo Riusa, > show-panel: func ['panelName] [ > panels/pane: panelName > ] Try (untested): show-panel: func [ {Shows the given panel} panelName {the given panel} ] [ panels/pane: panelName ] The leading ' shoud be avoided. Mario -- To unsubscribe from this list

[REBOL] Re: word list

2001-04-24 Thread Ingo Hohmann
Hi PeO, ... or you could use query ... > query/clear system/words == [end! unset! error! datatype! context! native! action! routine! op! function! object! struct! library! port! any-type! any-word!... >> f: func [][a: 1] >> query system/words == [f] >> f == 1 >> query system/words == [f a] >>

[REBOL] Re: word list

2001-04-24 Thread P-O Yliniemi
Thanks Larry, after some time of more experimenting, I also got it working using the part from rebdoc.r (using if not unset? first vals ..), but your routine was more clean and compact. Maybe just a word-list: make block! 500 in the beginning may speed it up, even if it's not slow.. If I'm no

[REBOL] Re: word list

2001-04-23 Thread Larry Palmiter
Hi PeO This works: >> words-with-vals: has [word-list][ word-list: copy [] foreach word first rebol/words [ if not error? try [get in rebol/words :word][append word-list word] ] word-list ] >> wv: words-with-vals == [unset! error! datatype! native! action! routine! op! f