TNT Basic Forums > Programming Q&A
Copy image/delete image
< Last Thread     Next Thread >
Thread        Post A Reply

07-23-2003 02:57

Posted by:


Click Here to Email eekaydee   Find more posts by eekaydee

When you call copy image and there is already an image with the same image number, will it replace the image or bump it and all others up? What about if you want to make an image number that skips numbers? (ie. there are images 1 to 2 and you want it to make image 10) Will it store the image as number 10 or 3?

What about deleting images? Does it leave a gap, or do all the images shift down by one?

07-23-2003 14:09

Posted by:
Mark Tully

TNT HQ, England

Click Here to Email Mark Tully   Find more posts by Mark Tully

With the copy image commnad:

All images after the new image are shifted up
If pass -1 then it adds to end of bank
If bank is not open it is opened
gaps are not left in the bank so inserting at position 100 in a bank of 2 will place the image at the end of the bank (index 2 in this case, the first two images being at indexes 0 and 1).

With the delete image command:
When deleting an image - all the other indexes are shifted down

Hope this helps


All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.