English
Opportunities and suggestions

Integrierte Structures

 

Jörg
Sellmeyer
I would find it expressed useful, if one The values the integrierten Structures with New() same fill could:
CompileMarkSeparation
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 ...
04/05/12  
 




RGH
it hindert you nobody, The suitable Konstruktoren To write (PROC xpRect.xpRect) and Your Program hinzuzufügen, about a INC with all Konstruktoren.

Greeting
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
04/05/12  
 




Jörg
Sellmeyer
Yes, already clear. but how much praktischer would it, if the same already drin would!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/05/12  
 



How the StartPaint-Stack!
 
04/06/12  
 




Jörg
Sellmeyer
RGH (05.04.12)

it hindert you nobody, The suitable Konstruktoren To write (PROC xpRect.xpRect) and Your Program hinzuzufügen, about a INC with all Konstruktoren.

Greeting
Roland


alas Yes - there having my try unfortunately not the desired Result brought
the anyway bring nothing:
CompileMarkSeparation
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 ...
04/06/12  
 



very, How the StartPaint-Stack!

[offtopic]Wrong Topic stimmts? [/offtopic]


Übersehe I now what or is the Dispose fehl on the Space?
 
04/06/12  
 




Jörg
Sellmeyer
this is sure complete wrong. but therefore question I indeed to...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/06/12  
 




RGH
Yes, this is complete wrong! See Help about "Konstruktor".

To respect is, that it itself here circa Structures deals. and Structures include naturally no modes, means too no Konstruktoren. but one can the structure of/ one class vererben, The a Konstruktor has:
CompileMarkSeparation
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

Greeting
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
04/06/12  
 




Jörg
Sellmeyer
OK - now understand I, what you mean. the I had me already zusammengebaut.
but so one eingebauter Konstruktor for internen Structures had still what, or?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/06/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.518 Views

Untitledvor 0 min.
H.Brill10/12/22
Matthias Arlt06/22/20
p.specht05/07/16
Michael Klumb02/19/16
More...

Themeninformationen

this Topic has 3 subscriber:

Jörg Sellmeyer (5x)
iF (2x)
RGH (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