30 September 2018, 22:39 | #1 |
Registered User
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
|
AMAL VU problem?
I use & like AMAL a lot, but up until today I have never used it's "VU" function.
The following snippet of code Code:
1 AM$="Loop: Let RA=VU(1);Pause;Jump Loop" 2 Channel 1 To Screen Display 0 3 Amal 1,AM$ 4 Amal On Is supposed to read voice 1 and store it in register RA at each interrupt (for later retrieval with AMREG= from BASIC) However I get the error Instruction only valid in autotest at line 3 (Obviously the problem lies in the definition of AM$ in line 1, but the manual & helpfile says this should work?) I think this may be a syntax thing, or maybe even an error in the help/manual texts. I have tried removing the parenthesis in AM$ EG: Code:
1 AM$="Loop: Let RA=VU 1;Pause;Jump Loop" 2 Channel 1 To Screen Display 0 3 Amal 1,AM$ 4 Amal On Any help much appreciated. V1 Last edited by volvo_0ne; 30 September 2018 at 23:11. |
30 September 2018, 23:53 | #2 |
Registered User
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
|
AHA!
It's a major error in the documentation!!!!! The correct command is NOT "VU(voice)" it is simply "V(voice)" so should read..... Code:
1 AM$="Loop: Let RA=V(1);Pause;Jump Loop" 2 Channel 1 To Screen Display 0 3 Amal 1,AM$ 4 Amal On |
01 October 2018, 09:31 | #3 |
Puttymoon inhabitant
|
How did you discover it?
|
02 October 2018, 19:55 | #4 |
Registered User
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMAL animation string | Predseda | Coders. AMOS | 7 | 04 September 2018 22:34 |
AMAL as primary code... | volvo_0ne | Coders. AMOS | 14 | 13 April 2018 01:59 |
AMAL channel n to object n limit?? | volvo_0ne | Coders. AMOS | 1 | 07 October 2017 21:18 |
Animating explosion without amal | aszu | Coders. AMOS | 13 | 17 March 2016 23:33 |
More AMAL headaches.... | volvo_0ne | Coders. AMOS | 0 | 23 February 2016 00:17 |
|
|