English
Forum

Sichtbarkeit lokaler variables

 

Jac
de
Lad
The cover has no genauere Description registered, means:

LÃ ¤ runs variables on, The I in a Proc declariere and of/ one others Proc, The The first Proc aufruft, use. example:
CompileMarkSeparation
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
07/16/08  
 



correctly., a& isn't declared - means not pub and not global.

XPSE rule however something the of XProfan no Relevance zugeordnet get: Verschachtelte Prozedurendeklaration.

Hiernach can You The Proc2 in Proc1 define - and voila: XPSE becomes The dependence discern and sees none reason you on a possible Error hinzuweisen.

accordingly is a& too logischer within proc1 accessible.
CompileMarkSeparation
Proc Proc1

    Proc Proc2

        a&=100

    endproc

    declare a&
    Proc2
    Print a&

Jac
The cover has no genauere Description registered, means: LÃ ¤ runs variables a others Proc on...


I Have whom cover time on Sichtbarkeit lokaler variables changed.
 
07/16/08  
 




Jac
de
Lad
Hm, sound logical. but The Proc2 becomes sometimes too of Ner others Proc called, The a& declariert has.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
07/16/08  
 



But this is nothing what itself somehow sweet-talk liesse.

then plainer and übersichtlicher same a Globale instead of a pub-defined-as-Globale-abused... (or even as Param)
 
07/16/08  
 




Jac
de
Lad
then had I etliche globale variables More (and as far as i know is it always so plenty How possible pub, so little How necessary global). Parameter goes neither, because so did i into variables reinschreibe. there should I The Addressen transfer.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
07/16/08  
 




Rolf
Koch
Hey Jac
you have Profan11! what hindert you on it global To works? have still with 11 sufficient Freiheiten on variables:
statement XPROFAN 11 Help: 2 Mia variables apiece type - ought to still wealthy or?
 
07/16/08  
 



Jac
then had I etliche globale variables More (and as far as i know is it always so plenty How possible pub, so little How necessary global).


here bring what confusion.

it counts Globale To avoid order better Overview (and others Languages yet from others Found) -
in Your Nutzungsfall counts it first once for a nachvollziehbare Overview Globale To deklarieren.

the basic problem hierbei is the You functions/Procedures sooner as *Makros missbrauchst.

*Eingabewerte are not solely Parameter and/or Ausgabewerte are not solely Rückgabewerte.

then but tidy Globale or. classes.
 
07/16/08  
 




Jac
de
Lad
@iF: Joar, so can mans too say.
@Rofl: no, the wasn't the springende point. it went me ums principle variables only such a long time to have, How necessary. The global are always there. I kanns now neither as accurate describe...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
07/16/08  
 




Rolf
Koch
*lol* Jac: ROFL and ROLF are two couple shoes. but mach Dir nix Draus, because always if I ROFL read, then feel I addressed
 
07/16/08  
 



thereby, since XProfan11 can functions Arrays zurückliefern...

yummy...  [...] 
 
07/16/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.235 Views

Untitledvor 0 min.
p.specht10/25/18
Roland Schäffer01/06/11

Themeninformationen

this Topic has 3 subscriber:

Jac de Lad (4x)
iF (4x)
Rolf Koch (2x)


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