Quote:
|
Originally Posted by jake13jake
I really can't express how much I want with statements to be deprecated.
|
'with()' lets you modify multiple aspects of a foreign object, without having to repeat the object reference.
PHP Code:
with (findimg(300)) {
x = 30;
y = 30;
text = "Hi!";
font = "Times New Roman";
style = "cb";
red = 1;
green = 0;
blue = 1;
}