Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 15-Oct-2014 19:34:13

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

is a global variable set in one plugit visible to other plugits?

colleagues:

is a global variable set in one plugit visible to other plugits?

typeof hebdemnobad = S;;
set hebdemnobad = "beaucoupdequestions";

Offline

#2 15-Oct-2014 20:25:31

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: is a global variable set in one plugit visible to other plugits?

No.

Offline

#3 15-Oct-2014 20:56:36

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: is a global variable set in one plugit visible to other plugits?

a global variable in a plugIT is set for all instances of this plugit
each plugit code is executed in a separated channel so only variables declared in the main channel are known by the plugit code

Offline

#4 15-Oct-2014 21:36:17

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Re: is a global variable set in one plugit visible to other plugits?

Thx guys.....so if I wanted to declare a global variable it would have to be declared in one of the packages loaded by the player at startup, correct?

Offline

#5 15-Oct-2014 22:38:06

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: is a global variable set in one plugit visible to other plugits?

yes but be sure it's necessary

Offline

#6 16-Oct-2014 18:14:37

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: is a global variable set in one plugit visible to other plugits?

arkeon wrote:

yes but be sure it's necessary

yes, i'm not sure but a better idea should be possible.

Offline

Board footer

Powered by FluxBB