Talk:Script syntax

From Bohemia Interactive Community

Jump to: navigation, search

We should set up some guidelines regarding to the use of "public", "local" and "global" to avoid any confusion. local and global do both have two definitions... (local = only this script/this client; global = all scripts/clients)

My suggestion:

"local" means that the variable's scope is a certain script/function.

"global" means that you can use this variable in any script on that machine.

"public" means that this variable has been synced over the net and is available on every client.

Raedor 19:16, 23 May 2006 (CEST)

Ok I'll correct my entries and use global instead of public. good catch.

hoz 19:48, 23 May 2006 (CEST)


Label Case Sensitive

Evidence that labels are not case sesitive:

goto "SKIP"
hint "Labels are case sensitive"
exit
#skip
hint "Labels are not case sensitive"
exit

Retrieved from "http://community.bistudio.com/wiki/goto" --THobson 08:42, 24 May 2006 (CEST)

I have moved the discussion on label case sensitivity to here from the goto page.

hoz 16:07, 24 May 2006 (CEST)

This page is like SQS.. depreciated :)

I've created two other pages (SQS and SQF syntax) to better categorize the information. --CrashDome 19:00, 20 December 2006 (CET)

Personal tools
Buy ArmA now!