Best Temp Pass Autoresponder?

Alex Tweedly alex at
Mon Jul 15 21:43:25 EDT 2019

On 15/07/2019 22:31, Rick Harrison via use-livecode wrote:
> Hi Alex,
> I believe the problem is that LC function
> doesn’t work in server even though the
> documentation says it should work in
> server.

No, it's definitely not that - I use funciton() all the time on LCServer.

Try this script and see what it does ... if it doesn't work, then check 
the version, etc.

If (when?) it does work, then you can start trying to narrow down. (I'd 
take the example you gave for reversedName, and put it at the top of the 
script file, see if that gives an error. If not, keep moving it further 
down until the error can be seen  :-)

(Or, if there's nothing too secret - send me your whole script off-list 
and I'll look at it).

(I have my copy at if you want to see its output.)


> I tried the example in the dictionary
> for reversedName.  It works fine in
> the IDE.  Once it is put into server
> like the following the first line gets
> flagged with the error.
>    row 854, col 1: if: error in command (function)
>    row 854, col 1: script: bad statement (function)
> <?lc
> function reversedName firstName,lastName
>    -- firstName and lastName are parameters
>    put lastName,firstName into constructedName
>    return constructedName
> end reversedName
> ?>
> Can we unravel the email send code so it
> doesn’t use functions?
> I did try putting the email send code into
> the IDE and it put the message into the
> message box without sending out the email.
> Perhaps that needs to be proven to work first
> in the IDE?
> I used the example code you provided as
> a test to be sure we were on the same page,
> and, it didn’t work.
> Suggestions?
> Rick
>> On Jul 15, 2019, at 3:51 PM, Alex Tweedly via use-livecode <use-livecode at> wrote:
>> Hmmm - LC Server's error reporting can be frustrating .... and I'm not sure what it is trying to say here.
>> All I can suggest is to try to take the problematic script and load it as a script-only stack into the IDE and see if it can be tested out that way - if necessary adding a few lines of code to mimic the way it\s being used on the server.
>> (Or send me the whole script off-list and I'll see if I can spot the differences between your context and mine)
>> Alex.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list