Livecode Server and script only stacks

Richard Gaskin ambassador at fourthworld.com
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", 
reported:
<http://quality.livecode.com/show_bug.cgi?id=16658>

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com





More information about the use-livecode mailing list