Subversion Repositories svn.mios

Rev

Rev 1162 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1162 Rev 1186
Line 283... Line 283...
283
     <UL CLASS=CL>
283
     <UL CLASS=CL>
284
       <LI><A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fmultibnk.ngc" TARGET="_blank">multibnk.ngc</A>
284
       <LI><A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fmultibnk.ngc" TARGET="_blank">multibnk.ngc</A>
285
       <LI><A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fmultibnk.ngr" TARGET="_blank">multibnk.ngr</A>
285
       <LI><A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fmultibnk.ngr" TARGET="_blank">multibnk.ngr</A>
286
     </UL>
286
     </UL>
287
    </TD>
287
    </TD>
-
 
288
  </TR>
-
 
289
-
 
290
  <TR>
-
 
291
    <TD CLASS=TABCOLOR2><I>SET_NO_DUMP &lt;id&gt; &lt;1|0&gt;</I></TD>
-
 
292
    <TD CLASS=TABCOLOR2>Allows to change the "no_dump" flag which specifies if an EVENT_xxx should be sent during a DumpSnapshot.
-
 
293
     This feature can be used to handle different snapshot setups.</TD>
288
  </TR>
294
  </TR>
289
295
290
  <TR>
296
  <TR>
291
    <TD CLASS=TABCOLOR2><I>SET_MIN &lt;id&gt; &lt;1|0&gt;</I><BR><I>SET_MAX &lt;id&gt; &lt;1|0&gt;</I></TD>
297
    <TD CLASS=TABCOLOR2><I>SET_MIN &lt;id&gt; &lt;1|0&gt;</I><BR><I>SET_MAX &lt;id&gt; &lt;1|0&gt;</I></TD>
292
    <TD CLASS=TABCOLOR2>Sets the minimal/maximal value of an event (in the .NGR file specified with range=&lt;min&gt;:&lt;max&gt;.<BR>
298
    <TD CLASS=TABCOLOR2>Sets the minimal/maximal value of an event (in the .NGR file specified with range=&lt;min&gt;:&lt;max&gt;.<BR>
Line 391... Line 397...
391
<TT><PRE style="margin-left:50px; font-size:8pt">
397
<TT><PRE style="margin-left:50px; font-size:8pt">
392
if (id)BUTTON:20 != 0
398
if (id)BUTTON:20 != 0
393
  log "BUTTON:20 is pressed"
399
  log "BUTTON:20 is pressed"
394
endif
400
endif
395
</PRE></TT>
401
</PRE></TT>
-
 
402
-
 
403
-
 
404
<H2> <IMG SRC="images/bullet.gif" ALT=""> Operations </H2>
-
 
405
-
 
406
<P CLASS=DESC>Some basic mathematical operations are supported. They have to be surrounded with square-brackets ([...]).</P>
-
 
407
-
 
408
<P CLASS=DESC>Syntax: <I>[&lt;left-operand&gt;&lt;operator&gt;&lt;right-operand&gt;]</I></P>
-
 
409
-
 
410
<P CLASS=DESC>Examples:
-
 
411
<UL CLASS=CL>
-
 
412
  <LI><I>set LED:2000 [LED:2000 + 1]</I><BR>
-
 
413
      will increment the value stored in LED:2000
-
 
414
  <LI><I>set LED:2000 [LED:2000 - 1]</I><BR>
-
 
415
      will decrement the value stored in LED:2000
-
 
416
</UL>
-
 
417
</P>
-
 
418
-
 
419
<P CLASS=DESC>Note that nested operations are supported as well, such as:
-
 
420
<UL CLASS=CL>
-
 
421
  <LI><I>send CC USB1 1 [LED:2000 + [LED:2001 + [LED:2002 + LED:2003]]]</I>
-
 
422
</UL>
-
 
423
</P>
-
 
424
-
 
425
<P CLASS=DESC>More examples can be found in <A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Frunscr5.ngc" TARGET="_blank">runscr5.ngc</A> and <A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Frunscr5.ngr" TARGET="_blank">runscr5.ngr</A></P>
-
 
426
-
 
427
<P CLASS=DESC>Support operators:
-
 
428
<UL CLASS=CL>
-
 
429
  <LI><I>+</I>: addition
-
 
430
  <LI><I>-</I>: substraction
-
 
431
  <LI><I>*</I>: multiplication
-
 
432
  <LI><I>/</I>: divide
-
 
433
  <LI><I>%</I>: modulo
-
 
434
  <LI><I>&amp;</I>: logical AND
-
 
435
  <LI><I>|</I>: logical OR
-
 
436
  <LI><I>^</I>: logical XOR
-
 
437
</UL>
-
 
438
</P>
396
439
397
440
398
441
399
<H2> <IMG SRC="images/bullet.gif" ALT=""> Flow Control </H2>
442
<H2> <IMG SRC="images/bullet.gif" ALT=""> Flow Control </H2>
400
443