[REBOL] Re: 'word...
From: brett::codeconscious::com at: 31-Jan-2002 9:37
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 function "panelName" stands for the actual literal word
insertAnagrafica
not the value
you expected (a face object). This is because you defined the function
argument using the '
But you need the value that "insertAnagrafica" refers to. So try:
show-panel: func ['panelName][
panels/pane: get panelName
]
show-panel insertAnagrafica
Brett.