von C++ und VB.Net kenne ich eine Paramerterübergabe so in der Art:
.
.
.
function_bla(par_x, par_y)
.
.
Func function_bla(par_a, par_b)
rechne dies
tue das
usw
return(par_a,par_b)
endfunc
man kann also die Parameter als par_x an par_a usw. übergeben, nur die Reihenfolge innerhalb der Klammer ist entscheidend. Gilt auch für die Rückgabewerte. Nun kann man in C++ auch direkt par_x an par_x übergeben, ist aber nicht ganz koscher. Möglich ist das, aber nicht gerne gesehen, da sich diese variablen bzw. Parameter bei unaufmerksam programmiertem Code überschreiben können. ich habe dies auch in AutoIt versucht und es geht auch beides, aber wie ist es "autoit-konform" programmiert? Wie macht Ihr das in der Regel?