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 context: 
http://runtime-revolution.278305.n4.nabble.com/Release-8-0-DP-12-tp4699714p4699796.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to