Livecode Server and script only stacks

Richard Gaskin ambassador at
Thu Dec 24 11:54:49 EST 2015

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 function will return "server" when called within the LC 
Server engine.

This is currently missing from the Dictionary entry for "environment", 

  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  Ambassador at      

More information about the Use-livecode mailing list