do while, i don´t get it.
Posted: 27 Dec 2011 18:43
Hello,
i use an on expression x script with this content:
isn´t this script supposed to stop the moment ResetMon2.value becomes anything other then 0 and ONLY if it´s not 0?
the sysex requests the current kit of a machinedrum, for some reason i sometimes get zeros only. Don´t know if it is becausese of the machinedrum or the lemur. so now i check MIDI_ARGS[8] if it has any value greater then 0.
sometimes it works, sometimes it doesn´t, sometimes i still get 0 and the script stops nonetheless and this i don´t understand.
Any help would be greatly apprechiated, again
cheers,
Martin
i use an on expression x script with this content:
Code: Select all
do
{
midiout(0, {0xF0, 0x00, 0x20, 0x3C, 0x02, 00, 0x70, 0x02, 0xF7});
}
while (RESETMon2.value == 0);
the sysex requests the current kit of a machinedrum, for some reason i sometimes get zeros only. Don´t know if it is becausese of the machinedrum or the lemur. so now i check MIDI_ARGS[8] if it has any value greater then 0.
sometimes it works, sometimes it doesn´t, sometimes i still get 0 and the script stops nonetheless and this i don´t understand.
Any help would be greatly apprechiated, again
cheers,
Martin