## RE: [Clip] Help with Note Tab

Expand Messages
• Then would you use the variable like such: ^\$Calc(26.9987-%Aquired Angle%) Are spaces important in the clip? ... From: Larry Thomas
Message 1 of 59 , Jul 1, 2003
• 0 Attachment
Then would you use the variable like such:

^\$Calc(26.9987-%Aquired Angle%)

Are spaces important in the clip?

-----Original Message-----
From: Larry Thomas [mailto:larryt@...]
Sent: Tuesday, July 01, 2003 1:22 PM
To: ntb-clips@yahoogroups.com
Subject: Re: [Clip] Help with Note Tab

Hi Kevin,

At 04:01 PM 7/1/03 -0400, you wrote:
>
>Once a number is determined through the use of ^\$Calc can that number
>now be used in the same clip, maybe as a variable?
>
>For example:
>
>^\$Calc(((arctan(^?[Rise of Hip Rafter:]/^?[Horizontal or Linear length
>of Hip Rafter:]))*180)/3.141593;6)\$
>
>^!Set %Acquired Angle%="I DONT KNOW WHAT TO PUT HERE"

^!Set %Acquired Angle%=^\$Calc(((arctan(^?[Rise of Hip Rafter:]/^?[Horizontal
or Linear length of Hip Rafter:]))*180)/3.141593;6)\$

That should do it although it looks kind of long and cumbersome. But if it
works....

Regards,

Larry
lrt@... e¿ê

------------------------ Yahoo! Groups Sponsor ---------------------~--> Get
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/dkFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
• Hi Kevin, I was just playing around and I reduced the number of lines in the original clip from 30 to 22. And it still works fine. ^!Set %Counter%=^?[Repeat
Message 59 of 59 , Mar 4, 2004
• 0 Attachment
Hi Kevin,

I was just playing around and I reduced the number of lines in the original
clip from 30 to 22. And it still works fine.

^!Set %Counter%=^?[Repeat count]
:Start
^!If ^%Counter% < 1 End
^!Dec Counter
^!Set %num2%="^\$StrRandom(1;1..3)\$"
^!If "^%num2%" = "1" Next ELSE Skip
^!Set %6%="Mein"; %7%="My"
^!If "^%num2%" = "2" Next ELSE Skip
^!Set %6%="Elf"; %7%="Eleven"; %8%="11"
^!If "^%num2%" = "3" Next ELSE Skip
^!Set %6%="Jung"; %7%="Young"
^!Set %num1%="^?{^%6%}"
^!IfSame "^%num1%" "^%7%" Correct
^!IfSame "^%num1%" "^%8%" Correct2

^!Keyboard #Sorry ^%7% ^%6%# Enter
^!Goto Start
:Correct
^!Keyboard #Correct ^%7% ^%6%# Enter
^!Goto Start
:Correct2
^!Keyboard #Correct ^%8% ^%6%# Enter
^!Goto Start

Regards,

Larry
lrt@... e¿ê
Your message has been successfully submitted and would be delivered to recipients shortly.