AmiDARK / AmosProfessionalUnity-Official-Releases

17 stars 0 forks source link

LOAD IFF Auto-Screen Open #8

Closed HoraceAndTheSpider closed 2 years ago

HoraceAndTheSpider commented 2 years ago

If a screen is not yet opened, and LOAD IFF "FILE.iFF" is used without a screen number, it should open a screen of the correct size/resolution - currently it returns and error saying the screen is not the right size/depth as "the one at line X" (but X is the line number for the LOAD iFF)

AmiDARK commented 2 years ago

if you don't push the screen ID as 2nd argument, Load Iff should take the "current screen" so, if no screen is opened, it cannot choose for you which screen to use. I doubt that original Amos Professional 2.0 should open a screen using the command this way when no one is open.

HoraceAndTheSpider commented 2 years ago

I think possibly this has been the case then because of AMOS having automatically opended a screen in interpretted mode.... if this is original behaviou, then please feel free to close this issue!

AmiDARK commented 2 years ago

Exactly, when you start, screen 0 is automatically created and set as "current screen". If you close it and use "Load Iff" without providing any ID for a screen to use, it will fail with an error message "Screen not opened". I have just checked now.

I close this ticket.