me*****@ing.umu.se (Smyke) writes:
I have this code:
changeout('sub1'); changeout('sub2'); changeout('sub3');
and wonder if its possible to shorten it? To something like this:
changeout (('sub1'),('sub2'),('sub3'));
Not unless the function changeout is build to understand it. There is
a big difference between calling a function once and calling it three
times.
Unless you have *many* calls, I doubt you save anything by making an
easier way to call the function. The extra code required for that will
take more work than just calling three times.
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'