Loading a stack in a running standalone

André Rombauts andre.rombauts at gmail.com
Sat Oct 13 16:39:18 EDT 2012


Hello there,

My application loads a stack from a folder on the net and I'm trying to trap an error if the file cannot be loaded.

   go to stack url "http://mysite.tdl/lc/Ext.livecode" in a new window
   if the result is empty then
      put "OK" into the field "info" of stack"stkMain"
      else
         put the result into the field "info" of stack "stkMain"
      end if

I'm getting a strange message... If the stack file is not present in the folder, the following message is displayed by the 'result' function:

"stack was produced by a newer version"

I thought I had to get "file not found" or something similar...

André


More information about the use-livecode mailing list