View Single Post
  #2  
Old 03-30-2010, 11:07 PM
Nicknack Nicknack is offline
Senior Member
 
Join Date: Nov 2006
Location: Germany
Posts: 527
Default

I don't get it, both values are equal but anyway somehow not:
PHP Code:
s$=newsprite(null);
add(l$,2,5,876);
setspritedata(s$,laddr(l$));

Showmessage("first");
r$=laddr(l$);
&
n$=r$;
foreach(
n$)
 
Showmessage(n$);
end;

Showmessage("second");
o$=spritedata(s$);
&
u$=o$;
foreach(
u$)
 
Showmessage(u$);
end;

Showmessage(o$==r$); 
I don't understand also why you need a extra variable for holding laddr().
Reply With Quote