copyarray...
Publié : mar. 04/oct./2011 9:30
ce serait bien de pouvoir copier / détruire une seule ligne d'un tableau.
structure pt
effet.s
vx.f
vy.f
rotation.s
endstructure
structure point
x.l } Quand il y a encore une bonne trentaine de variables, pour copier, c un peu ennuyeux.
y.l }
x2.l }
y2.l }
couleur.s }
sx.pt }
... }
endstructure
dim fg.point (10)
dim dest.point (10)
et la: copyarray(fg(6),dest(6))
structure pt
effet.s
vx.f
vy.f
rotation.s
endstructure
structure point
x.l } Quand il y a encore une bonne trentaine de variables, pour copier, c un peu ennuyeux.
y.l }
x2.l }
y2.l }
couleur.s }
sx.pt }
... }
endstructure
dim fg.point (10)
dim dest.point (10)
et la: copyarray(fg(6),dest(6))