Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I hv below script , from time to time i need to change the gap , now is 0.5 gap , some time i need 0.1 gap, it there any way i can just modify 1 number ?
VolumeIncrease:
LOAD * INLINE [
Volume_up
-.3
-.2
-.15
-.1
-.05
0
.05
.1
.15
.2
.3
thank you for your reading.
Try like attached sample:
Let vIterNo=10;
Let vStep=0.1;
Let vStart=-0.3;
Load
If( RecNo()=1,$(vStart), Peek('Volume_up_1')+$(vStep)) as Volume_up_1
AutoGenerate $(vIterNo);
Note: This would give you the flexibility of setting start, step and interation number.
not to worry here man you can write an iterative script to do so
Hi,
It depends on your condition which you want to apply for gap. Can you please tell us that on which condition you want gap??
Thanks
Ashutosh
Hi Sir
For example Instead of i keep repeat the below script , i want the script to be shorter.for easy maintenance.
LOAD * INLINE [
Volume_up_1
-.3
-.25
-.2
-.15
-.1
-.05
0
.05
.1
.15
.2
.25
.3
LOAD * INLINE [
Volume_up_2
-.3
-.2
-.1
0
.1
.2
.3
Try like attached sample:
Let vIterNo=10;
Let vStep=0.1;
Let vStart=-0.3;
Load
If( RecNo()=1,$(vStart), Peek('Volume_up_1')+$(vStep)) as Volume_up_1
AutoGenerate $(vIterNo);
Note: This would give you the flexibility of setting start, step and interation number.
Thank you sir , i will use this script to shorten my existing one.
Hi tres
I try to create using your code , i get #### at zero point , which is not so serious , just in case you can let me know why this happen , and how to avoid the ##### from appear ?
Hi,
I think this is because of number format...
Go to ListBox property>> Number tab >> and change your number format like this....
hope this helps you
Ashutosh
Yes you are right. now working