-> Hier kostenlos registrieren
Hallo,
kann ich aus einer Structure eine Variable ermitteln?
Type X
struct
a : Bool;
b : Bool;
res : Bool; // not used
end_struct
end_type
var
test : X;
idx : int;
end_var
wie kann ich nun die Variable test.res ermitteln?
ergebnis sollte idx = 2 sein?
kann ich aus einer Structure eine Variable ermitteln?
Type X
struct
a : Bool;
b : Bool;
res : Bool; // not used
end_struct
end_type
var
test : X;
idx : int;
end_var
wie kann ich nun die Variable test.res ermitteln?
ergebnis sollte idx = 2 sein?