Hi Bhavbhuti
>Nay, actually it had the same problem as my code, you can't assign a number to activepage which is disabled. So .pgf.ACTIVEPAGE = lnNextPage won't work.
Ah well I didn't look into that - assuming your code was on the right track.
>>Personally, if you've read any of my rants, I'd never use EXIT or LOOP, so my version of yours would have been something like:
>>
>>Do while not llGotFreePage
>>
>Okay I'll mod the code. Thanks.
Don't get me wrong - you code it as you like!
>>Incidentally, I don't think your function ever WILL return lnNextPage as you use the evil EXIT to get out as soon as you've got a free page.
>
>Well EXIT just exits the latest loop, if I remember correct and plus this thing seems to work !?!
Aye, it works - but it doesn't return lnNextPage
>Wow, I'd love that. Had recently visited the U.K. in May, should have know earlier, I would have come back with diamonds <g>.
Ah, in May it was rubies and lapus lazuli :-)
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.