Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: 'Instruction only valid in autotest' Error message  (Read 5402 times)

0 Members and 5 Guests are viewing this topic.

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
'Instruction only valid in autotest' Error message
« on: May 28, 2016, 06:53:03 PM »

Ploughing on with Amos and I'm at the Amal section of the book now.

Managed to load my image to my bob and all is well but the book tells me to type in this in direct mode amal 1, "Anim 0,(1,5)(2,5)(3,5)" but I get an error message saying 'Instruction only valid in autotest'.

The book just continues on as if this message doesn't appear and I can't see anything in the help file about this.

Thanks!
Logged

Volvo_0ne

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 71
  • A1200 lover
Re: 'Instruction only valid in autotest' Error message
« Reply #1 on: May 28, 2016, 08:22:24 PM »

Ploughing on with Amos and I'm at the Amal section of the book now.

Managed to load my image to my bob and all is well but the book tells me to type in this in direct mode amal 1, "Anim 0,(1,5)(2,5)(3,5)" but I get an error message saying 'Instruction only valid in autotest'.

The book just continues on as if this message doesn't appear and I can't see anything in the help file about this.

Thanks!

Make sure you typed it EXACTLY as written here, Because AMAL only uses the UPPERCASE letters as commands, lowercase is ignored completely

or try amal 1, "A 0,(1,5)(2,5)(3,5)"

Also make sure you have all three frames of animation in your sprite/bob bank.
Logged
Transuranic heavy elements may not be used where there is life.

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: 'Instruction only valid in autotest' Error message
« Reply #2 on: May 28, 2016, 08:30:58 PM »

Topic moved for future reference.
Logged

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: 'Instruction only valid in autotest' Error message
« Reply #3 on: May 28, 2016, 08:50:00 PM »

Make sure you typed it EXACTLY as written here, Because AMAL only uses the UPPERCASE letters as commands, lowercase is ignored
[/quote]

Ahhh got it.

I managed to sort the example shown above (somehow) but it happened again in a shortened bit of code which included a variable A$ and it was a mistake in the definition of the variable way back in the code where I'd spelled the Anim command with a lower case 'a'.

Looking in the wrong place.

Thanks for the help, I wouldn't  have remembered to check for upper/lower case mistakes if it weren't for your reminder!

Topic moved for future reference.

Thanks Samuraicrow! :)
Logged

Volvo_0ne

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 71
  • A1200 lover
Re: 'Instruction only valid in autotest' Error message
« Reply #4 on: May 28, 2016, 09:16:11 PM »

Make sure you typed it EXACTLY as written here, Because AMAL only uses the UPPERCASE letters as commands, lowercase is ignored

Ahhh got it.

I managed to sort the example shown above (somehow) but it happened again in a shortened bit of code which included a variable A$ and it was a mistake in the definition of the variable way back in the code where I'd spelled the Anim command with a lower case 'a'.

Looking in the wrong place.

Thanks for the help, I wouldn't  have remembered to check for upper/lower case mistakes if it weren't for your reminder!

Glad you got it sorted, and do not forget that you can also use AMAL to control things other than bobs/sprites & screens at good speed :)
Logged
Transuranic heavy elements may not be used where there is life.
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022