Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

VID and code

 [1/3] from: inetw3:mindspring at: 26-Feb-2003 10:14


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]]] 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 .

 [2/3] from: greggirwin::mindspring::com at: 26-Feb-2003 10:45


i> how do i get a button to call my code without i> returnning script errors ? If you could post some actual code, that would help enormously. It can be very hard to know what might be wrong with a bit of REBOL code without seeing it. -- Gregg

 [3/3] 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
<<quoted lines omitted: 3>>
> 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...
<<quoted lines omitted: 5>>
> The docs available don't really talk about these things. > thanks in advance .
-- Carl Read

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted