Dependent Variables in 'wait'

everything.is.fine
Member Posts: 2 Newcomer
Hi guys. I'm trying to define a dependent variable in KSP and use it for 'wait' as $waiting_time. Here's a simple example. The error message is 'ERROR (line 7): variable "$x" was not declared. I can't see what's wrong with it. Thanks in advance.
on init declare $Time := 5 declare $x := 2 * $Time end on on note wait($x) end on
0
Comments
-
I just solved it:
on init declare $Time := 5 declare $x $x:= 2 * $Time end on on note wait($x) end on
Thanks
0
Back To Top
Categories
- All Categories
- 21 Welcome
- 739 Hangout
- 73 NI News
- 348 Tech Talks
- 1.6K Native Access
- 7.1K Komplete
- 932 Komplete General
- 1.7K Komplete Kontrol
- 2.6K Kontakt
- 651 Reaktor
- 226 Battery 4
- 390 Guitar Rig & FX
- 263 Massive X & Synths
- 384 Other Software & Hardware
- 3.1K Maschine
- 24 Sampling Room
- 3.8K Traktor
- 3.5K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators