English
Functions and Help

Sprachelement: global

 
Variablenbezeichner of global variables define:

or:
 
02/28/16  
 



small Error Global fixed,

additionally hint:

want one several values by global achieve, then just 1 Variable benefit and there The values suspend:

or plainer declared:
 
03/24/16  
 




HofK
After whom Posts  [...]  [...] 
becomes in my Programs now sure the g. ... to that "Standard".

If I times the Erdbeschleunigung g ≈ 9,81 m/s^2
need, make I hold g.g from it.

// g for single globale variables to Use in Procedures
g.ganzzahl = 7
g.boolsch = true
g.zeichenkette = " Hallöchen "

something = "abc" // becomes in Procedures not used
worth = 47.11

testoop worth

proc testoop w // w becomes as Parameter "by value" transfer
global g // for all global g. ... variables
sehrklein = 0.01 // local Variable in the procedure
small = g.ganzzahl + sehrklein
print g.zeichenkette + w + " > " + small + " is " + g.boolsch
endproc
 
04/08/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.128 Views

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
HofK (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie