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

Re: [Clip] Simple array processing in a Clip

Expand Messages
  • Sheri
    ... You need a caret in front of %NewVariable% where you want to substitute the value it is holding: ^!InsertText ^%NewVariable% Regards, Sheri
    Message 1 of 5 , Nov 5, 2006
    • 0 Attachment
      --- In ntb-clips@yahoogroups.com, "Peter Anderson" <pjafrombbay@...>
      wrote:

      > H="Test clip"
      > ^!SetWizardTitle "Insert a card suit code"
      > ;^?[Choose a suit=Spades|Hearts|Diamonds|Clubs]
      > ^!Set %NewVariable%=^?{Choose a suit==_Spades|Hearts|Diamonds|Clubs}
      > ^!InsertText %NewVariable%
      >
      > But of course is not working (yet!).
      >

      You need a caret in front of %NewVariable% where you want to substitute
      the value it is holding:

      ^!InsertText ^%NewVariable%

      Regards,
      Sheri
    Your message has been successfully submitted and would be delivered to recipients shortly.