Quote:
Originally Posted by DustyPorViva
Umm, since when is showimg() GS1?
|
Because it exists for compatibility.
PHP Code:
showimg(1, "block.png", 22, 32);
Is the same as:
PHP Code:
with (findimg(1)) {
image = "block.png";
x = 22;
y = 32;
}
Because GS2 is object-based I think of the second as proper way and the first as just existing for compatibility. Also the second is more readable.