Kennt jemand eine Möglichkeit in if Abfrage den Wert einer Variable gleich zu zuweisen? Ungefähr so:
private function xy() as bool
return true
end funktion
...
dim x as bool = false
if x=xy() then ...
jetzt müsste im x ein true stehen....
Kennt jemand so eine abgekürzte Möglichkeit?
Danke im Voraus
private function xy() as bool
return true
end funktion
...
dim x as bool = false
if x=xy() then ...
jetzt müsste im x ein true stehen....
Kennt jemand so eine abgekürzte Möglichkeit?
Danke im Voraus