Français
Wünsche et Anregungen

Integrierte Strukturen

 

Jörg
Sellmeyer
je fände es ausgesprochen nützlich, si on qui Werte qui integrierten Strukturen avec New() juste füllen pourrait:
KompilierenMarqueSéparation
Var R# = New(xpRect,0,0,100,100)
Print R#.x!
WaitInputre>
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05.04.2012  
 




RGH
Es hindert toi niemand, qui passenden Konstruktoren trop écrivons (PROC xpRect.xpRect) et Deinem Programme hinzuzufügen, etwa une INC avec allen Konstruktoren.

Salut
Roland
 
XProfan X2
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05.04.2012  
 




Jörg
Sellmeyer
oui, déjà bien sûr. mais combien praktischer wäre es, si cela juste déjà drin wäre!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05.04.2012  
 



comment qui Début de peinture-Stack!
 
06.04.2012  
 




Jörg
Sellmeyer
RGH (05.04.12)

Es hindert toi niemand, qui passenden Konstruktoren trop écrivons (PROC xpRect.xpRect) et Deinem Programme hinzuzufügen, etwa une INC avec allen Konstruktoren.

Salut
Roland


ah oui - là avons mon Versuche malheureusement pas cela gewünschte Ergebnis gebracht
cela jedenfalls bringt nix:
KompilierenMarqueSéparation
Proc xpRect.xpRect

    Parameters b#,a!,b!,c!,d!
    b# = New(xpRect)

    With b#

        .posx! = a!
        .posy! = b!
        .x! = c!
        .y! = d!

    EndWith

    Dispose b#

EndProc

Var R# = New(xpRect,R#,10,10,100,100)

With R#

    Print .posx!, .posy!
    Print .x!,.y!

EndWith

WaitInput
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06.04.2012  
 



oui c'est ca, comment qui Début de peinture-Stack!

[offtopic]falsches Thema stimmts? [/offtopic]


Übersehe je maintenant quoi ou bien ist cela Dispose fehl am place?
 
06.04.2012  
 




Jörg
Sellmeyer
c'est sûrement komplett faux. mais c'est pourquoi frage je oui aussi pour...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06.04.2012  
 




RGH
oui, c'est komplett faux! Siehe Aider zum Thema "Konstruktor".

trop berücksichtigen ist, dass es sich ici um Strukturen handelt. et Strukturen enthalten naturellement keinerlei Methoden, alors aussi aucun Konstruktoren. mais il peut qui Struktur einer super vererben, qui une Konstruktor hat:
KompilierenMarqueSéparation
Class myRect = xpRect, myRect@

Proc myRect.myRect

    Parameters a!,b!,c!,d!
    .posx! = a!
    .posy! = b!
    .x! = c!
    .y! = d!

EndProc

Var R# = New(myRect,10,10,100,100)

With R#

    Print .posx!, .posy!
    Print .x!,.y!

EndWith

WaitInput

Salut
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06.04.2012  
 




Jörg
Sellmeyer
Ok - maintenant verstehe je, quoi Du meinst. cela J'ai eu mir aussi déjà zusammengebaut.
mais so un eingebauter Konstruktor pour qui internen Strukturen hätte doch quoi, ou bien?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06.04.2012  
 



répondre


Topictitle, max. 100 marque.
 

Systemprofile:

ne...aucune Systemprofil angelegt. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

s'il te plaît s'inscrire um une Beitrag trop verfassen.
 

Options du sujet

9.501 Views

Untitledvor 0 min.
H.Brill12.10.2022
Matthias Arlt22.06.2020
p.specht07.05.2016
Michael Klumb19.02.2016
plus...

Themeninformationen

cet Thema hat 3 participant:

Jörg Sellmeyer (5x)
iF (2x)
RGH (2x)


Admins  |  AGB  |  Applications  |  Auteurs  |  Chat  |  protection des données  |  Télécharger  |  Entrance  |  Aider  |  Merchantportal  |  Empreinte  |  Mart  |  Interfaces  |  SDK  |  Services  |  Jeux  |  cherche  |  Support

un projet aller XProfaner, qui il y a!


Mon XProfan
Privé Nouvelles
Eigenes Ablageforum
Sujets-La liste de voeux
Eigene Posts
Eigene Sujets
Zwischenablage
Annuler
 Deutsch English Français Español Italia
Traductions

protection des données


Wir verwenden Cookies seulement comme Session-Cookies à cause de qui technischen Notwendigkeit et chez uns gibt es aucun Cookies de Drittanbietern.

si du ici sur unsere Webseite klickst ou bien navigierst, stimmst du unserer Erfassung de Informationen dans unseren Cookies sur XProfan.Net trop.

Weitere Informationen trop unseren Cookies et en supplément, comment du qui Kontrolle par-dessus behältst, findest du dans unserer nachfolgenden Datenschutzerklärung.


d'accordDatenschutzerklärung
je voudrais keinen Cookie