[Rev] Problem with seemingly simple code
Sarah Reichelt
sarahr at genesearch.com.au
Sun Mar 24 17:50:01 EST 2002
Hi Dave,
I suspect the problem may be in the "sendReq" button. Send messages are
very polite and just do nothing if they have an error instead of
frightening your users with a cryptic message.
Try putting some "answer" statements in you scripts so you can see what
happens but if the scripts haven't been able to compile, they may not
get called at all. Also, try building the standalone in OS X as well as
in Windows - there may be a problem with file paths once it is a
separate app instead of part of the Revolution environment.
Cheers,
Sarah
On Sunday, March 24, 2002, at 12:22 pm, David Kwinter wrote:
> This chunk of script lives in an idle handler and works fine on OSX,
> but when I open a compiled Windows version, I get nothing. Any
> thoughts? Should I have said 'empty' instead of "" in line 1?
>
> if field "in_field"="" and the number of lines in field
> "waiting_reqs">0 then
> put line 1 of field "waiting_reqs" into field "in_field"
> delete line 1 of field "waiting_reqs"
> send mouseup to button "sendReq"
> end if
More information about the use-livecode
mailing list