English
Bugs and vermeintliche

actually Version: XProfan X4

Error Arrayzuweisungen

 

Jörg
Sellmeyer
here's one Error, the me already multiple noticed is, whom I but yet not yet eingrenzen and a überschaubaren code pack could. here's it drin:
Class MemoryKarte = parent&,\
hdl&,\
Bild&,\
Back&,\
x&,y&,\
Size&,\
MemoryKarte@
Class Kartensatz = MemoryKarte,\
Anzahl&,\
KartenSatz@

Proc Kartensatz.Kartensatz

    Parameters b#[],parent&,AnzKarten&,gr%,back&,Img&

    WhileLoop 0,AnzKarten& -1

        b#[&Loop] = New(MemoryKarte,%hwnd,gr%,back&,Img&)
        print b#[&Loop].hdl&

    Wend

ENDPROC

Proc MemoryKarte.MemoryKarte

    Parameters parent&,groesse%,Bild&,Back&
    .parent& = parent&
    .Bild& = Bild&
    .Back& = Back&
    .Size& = groesse%
    .hdl& = Create("Button",.parent&,Str $(.Back&) + " " + Str $(Bild&),140,0,groesse%,groesse%)

ENDPROC

Cls
Declare KartenSatz#[],Test%
Var Test# = New(Kartensatz,KartenSatz#[],%hwnd,8,140,-23456,345673)

While 1

    Input Test%

    If Test%

        'if these row ausgeklammert is, knallt it in the request the structure
        'thereby is it alike, whether The row carryed out becomes or not
        Print SizeOf(KartenSatz#[])
        Print Test%,"drin"

    Else

        Print Test%,"draußen"

    EndIf

    With KartenSatz#[0]

        Print .parent&,.hdl&

    EndWith

Wend

 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/21/18  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.105 Views

Untitledvor 0 min.
Stringray01/05/22
RGH07/05/20
Thomas Zielinski08/31/19
Pedro Miguel05/17/19
More...

Themeninformationen

this Topic has 1 subscriber:

Jörg Sellmeyer (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