Best Temp Pass Autoresponder?

Rick Harrison harrison at all-auctions.com
Mon Jul 15 17:31:43 EDT 2019


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.

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 lists.runrev.com> 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.
> 





More information about the Use-livecode mailing list