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

22227Re: Finding gaps in a sequence

Expand Messages
  • flo.gehrke
    Nov 12, 2011
    • 0 Attachment
      --- In ntb-clips@yahoogroups.com, "flo.gehrke" <flo.gehrke@...> wrote:
      >
      > Just for the fun of it, I would like to present my first
      > approach...

      Errata: Don't know where those backslashs come from!?? Inserted by Yahoo?

      Please correct:

      ^!Set
      %x%=^$Calc(^$CharToDec(^$StrIndex(^%A%;1)$)$+^$CharToDec(^$StrIndex(^%A%;2)$)$+^$CharToDec(^$StrIndex(^%A%;3)$)$)$
      ^!Set
      %y%=^$Calc(^$CharToDec(^$StrIndex(^%B%;1)$)$+^$CharToDec(^$StrIndex(^%B%;2)$)$+^$CharToDec(^$StrIndex(^%B%;3)$)$)$

      Also...

      > ; Assign first and second code to array %A% and %B%

      No "arrays", of course -- it's "variables"!

      Flo
    • Show all 29 messages in this topic