Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 135144

ExtendScript oddities with incrementing an array value

$
0
0

Only for my curiosity (I am a very absolute beginner with ExtendScript), but also to better understand Extendscript; I have:

 

while (myTextFrame.overflows) {

     var gb = myTextFrame.geometricBounds;

     ++gb[2];

     myTextFrame.geometricBounds = gb;

}

 

Why can't I do, instead

 

     while (myTextFrame.overflows) ++myTextFrame.geometricBounds[2];   ?

 

It produces an infinite loop...

 

 

Thanks

 

Roberto    


Viewing all articles
Browse latest Browse all 135144

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>