Dependent Variables in 'wait'
![everything.is.fine](https://s.gravatar.com/avatar/4d43f84df50b69c3c7af33996ed66c7d?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fna.png)
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
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.6K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 380 Battery 4
- 846 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K 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