David Bovill wrote:
> I've been looking for the way to determine if a script is running on
> a Livecode server - I've searched my memory and the docs - both both
> seem somewhat unreliable - what is the function that returns 'server"
> when running on Livecode server again?
The environment functi
The following works in an .lc script (on-rev) and in a button script in the
IDE...
If $_SERVER is empty then
put "not on a server"
else
put "on a server"
end if
-
"The difference between genius and stupidity is; genius has its limits." -
Albert Einstein
--
View this message in conte
Oh great - thanks Richard and Peter!
I've been looking for the way to determine if a script is running on a
Livecode server - I've searched my memory and the docs - both both seem
somewhat unreliable - what is the function that returns 'server" when
running on Livecode server again?
On Wed, 23 De
David Bovill wrote:
> Does anyone know if script only stacks work with Livecode Server and
> if so which version of the server I need to be running?
Script-only stacks work beautifully on servers with either LiveCode
Server and with Linux standalones - either can be used under CGI, and
both wo
David
> On 23 Dec 2015, at 17:49, David Bovill wrote:
>
> I'm looking to produce a better coding experience for revIgniter / Livecode
> server, and I'd like to be able to use script only stacks on the server, so
> I can test code locally as stacks, and easily keep it versioned in Github
> and li