/[svn]/linuxsampler/trunk/src/scriptvm/examples/exit.txt
ViewVC logotype

Contents of /linuxsampler/trunk/src/scriptvm/examples/exit.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2581 - (show annotations) (download)
Fri May 30 12:48:05 2014 UTC (9 years, 10 months ago) by schoenebeck
File MIME type: text/plain
File size: 310 byte(s)
* (WIP) Implemented parser and VM for upcoming new real-time instrument
  script support. It needs yet to be integrated into the sampler's
  sampler engines. You can toy around for now with the command line tool
  "ls_instr_script" and i.e. examples showing the core language features
  under src/scriptvm/examples/.
* Bumped version (1.0.0.svn41).

1 { The exit function can be used to stop current execution of the current event
2 handler. It does not stop overall execution of scripts. }
3
4 on init
5 declare $foo := 1
6
7 message("if this is the last message you see, then exit works")
8
9 if ($foo)
10 exit()
11 end if
12
13 message("exit does not work!")
14 end on

  ViewVC Help
Powered by ViewVC