[REBOL] Re: VID and code
From: carl:cybercraft at: 27-Feb-2003 8:27
On 27-Feb-03, iNetW3 wrote:
> Hello ML,
> If someone would be so nice to help me
> understand Rebol VID scripting.
> I have some parses and functions
> as a buttons' action... button "go" [ parses and functions ]
> or button "go" feel [engage: func[if action = 'down
> [ parses and functions]]]
That looks wrong, in that a function's format is...
func [arguments][code]
But as Gregg said, showing us the actual code that isn't working is
the easiest way for us to spot where the errors are.
Carl.
> but when i press it, the code works, but no other VID
> (buttons, areas etc.) will work and i get script error...
> ** Script Error: Invalid argument: return
> ** Where: forever
> ** Near: if not parse facets vid-rules
> how do i get a button to call my code without
> returnning script errors ?
> The docs available don't really talk about these things.
> thanks in advance .
--
Carl Read