changing button behaviour?

i recently upgraded to seq3.3c and i have a problem in restoring the old customization i did to the buttons.

in particular, i changed the “metronome” button to have direct access to the events page.

this is my “old” code:

seq_buttons.inc

;; --------------------------------------------------------------------------

;;  Enable/Disable Metronome

;; --------------------------------------------------------------------------

SEQ_BUTTON_Metronome

IFSET MIOS_PARAMETER2, 0, return

;; branch to events menu

movlw CS_MENU_PAGE_EVENTS

goto CS_M_HLP_ChangePage

but now, if i compile, i get an error message.

how should i modify it??

thanks!

Paste the error message…

http://www.midibox.org/forum/index.php/topic,12362.0.html

Paste the error message…

./src\seq_buttons.inc:679:Error [179] Unknown opcode “IFSET”

from the “unknow opcode” i supposed that there was something completely different in the new seq3.3c code (even because i had to install other programs to compile it, as found in the midibox.org dokuwiki

now i will look at the other thread

EDIT: it seems too complicated for me, i don’t know anything about ASM, even if i have some very very very very very basic knowledge about general programming…

IFSET is gone. Follow Bugfight’s link…