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

Re: [Clip] Help with Note Tab

Expand Messages
  • Don Daugherty
    ... variables? ... If your intent is to then use variable in a search, looking for 11 or eleven , you could generate the appropriate Regular Expression
    Message 1 of 59 , Mar 3, 2004
    • 0 Attachment
      > >Any one know of a way to set the same variable to two different
      variables?
      > >Example: I would like to set the value of variable "elf" to both "11" and
      > >"eleven"
      > >
      > Or you might want to append two values into one variable.
      >
      > ^!Set %elf%=11
      >
      > Then:
      >
      > ^!Append %elf%=^%SPACE%eleven
      >
      > Which will display "11 eleven" when you run:

      If your intent is to then use variable in a search, looking for "11" or
      "eleven", you could generate the appropriate Regular Expression
      "(11)|(eleven)" for your variable value, and then refer to the variable in a
      Find or Replace command, e.g., ^!Find "^%SearchVar%" RI
    • Larry Thomas
      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.