Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] Calculating with Variables - was Help with Note Tab

Expand Messages
  • Alan C.
    On Tue, 1 Jul 2003 17:28:29 -0400, Don Passenger wrote: ... ^!ClearVariable %Acquired_Angle% It s been a while. But didn t I once discover the
    Message 1 of 4 , Jul 1, 2003
    • 0 Attachment
      On Tue, 1 Jul 2003 17:28:29 -0400, Don Passenger wrote:
      <snip code>
      >^!ClearVariable ^%Acquired_Angle%

      ^!ClearVariable %Acquired_Angle%

      It's been a while. But didn't I once discover the latter somehow has affect? (^% vs. %) I think it needs to be the latter.

      I'm asking outside of myself because that's where the task lies in order for ME to remember.

      Don't y'all just love to remind me what and when to remember? (chuckle)

      (untested, gotta run off elsewhere)

      --
      Alan.
    • Don Passenger
      ... affect? (^% vs. %) I think it needs to be the latter. ^!ClearVariable %VariableName% Empties the specified variable. right you are Alan! When you do an
      Message 2 of 4 , Jul 1, 2003
      • 0 Attachment
        > >^!ClearVariable ^%Acquired_Angle%
        >
        > ^!ClearVariable %Acquired_Angle%
        >
        > It's been a while. But didn't I once discover the latter somehow has
        affect? (^% vs. %) I think it needs to be the latter.
        ^!ClearVariable %VariableName%
        Empties the specified variable.

        right you are Alan! When you do an action to a variable as opposed to with
        a variable is how I try to remember. I still mess it up sometimes ...
        including right here today :-)
      • Kevin Witherite
        Thanks Don that was an immense help. ... From: Don Passenger [mailto:dpasseng@iserv.net] Sent: Tuesday, July 01, 2003 2:28 PM To: ntb-clips@yahoogroups.com
        Message 3 of 4 , Jul 2, 2003
        • 0 Attachment
          Thanks Don that was an immense help.

          -----Original Message-----
          From: Don Passenger [mailto:dpasseng@...]
          Sent: Tuesday, July 01, 2003 2:28 PM
          To: ntb-clips@yahoogroups.com
          Subject: Re: [Clip] Calculating with Variables - was Help with Note Tab


          :start
          ^!SetWizardLabel "Enter values For Rafter"
          ^!SET %rise%=^?{Rise of Hip Rafter:}; %run%=^?{Horizontal or Linear length
          of Hip Rafter:} ^!Set
          %Acquired_Angle%=^$Calc(((arctan(^%rise%/^%run%))*180)/3.141593;6)$
          ^!Continue ^%Acquired_Angle%
          ^!ClearVariable ^%Acquired_Angle%
          ^!Goto start

          Advantage is that it repeats.


          --

          Don Passenger

          If you need an html fix visit
          http://www.htmlfixit.com

          html/perl/php/xhtml/javascript presented
          in easy tutorials with live help and forums
          to fix your problems
          ----- Original Message -----
          From: "Don Passenger" <dpasseng@...>
          To: <ntb-clips@yahoogroups.com>
          Sent: Tuesday, July 01, 2003 4:49 PM
          Subject: Re: [Clip] Help with Note Tab


          > ^!Set %Acquired_Angle%=^$Calc(((arctan(^?[Rise of Hip
          Rafter:]/^?[Horizontal
          > or Linear length of Hip Rafter:]))*180)/3.141593;6)$
          >
          > at least if your math is good :-)
          >
          > ^!Set %Acquired_Angle%=^$Calc(((arctan(^?[Rise of Hip
          Rafter:]/^?[Horizontal
          > or Linear length of Hip Rafter:]))*180)/3.141593;6)$ ^!Continue
          > ^%Acquired_Angle%
          >
          > if you want to use the variable you use a ^ in front of it
          >
          >
          >
          >
          >
          > Your use of Yahoo! Groups is subject to
          > http://docs.yahoo.com/info/terms/
          >
          >


          ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get
          A Free Psychic Reading! Your Online Answer To Life's Important Questions.
          http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/dkFolB/TM
          ---------------------------------------------------------------------~->



          Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        Your message has been successfully submitted and would be delivered to recipients shortly.