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

Re: [Clip] Braces don't prompt; brackets do

Expand Messages
  • Larry Thomas
    ... Hi Roy, This is from the help file: From the menu; Select: Help Topics Reference Information Tools Editor Clipbook Clip Programming Clip Language
    Message 1 of 1 , Aug 28, 2003
      At 04:15 PM 8/28/03 -0600, you wrote:
      >The following will prompt:
      >^!Info ^$GetDosOutput(^?[Enter:= ])$
      >
      >This will not prompt:
      >^!Info ^$GetDosOutput(^?{Enter:= })$
      >
      >Can anyone help?
      >Roy

      Hi Roy,

      This is from the help file:

      From the menu;

      Select:

      Help Topics
      Reference Information
      Tools
      Editor Clipbook
      Clip Programming
      Clip Language Introduction

      And about three-fourths of the way down you will see:

      Parsing and evaluation sequence

      A. Whole Clip

      1. Comments removed
      2. Date fields evaluated ^[...^] (old format)
      3. Text selection inserted if ^& found
      4. ^!CONTINUE command executed if on first line
      5. Clip wizard based on ^?[...] fields displayed
      6. Mathematical fields evaluated ^$[...] (old format)

      B. Line by line

      1. Variables resolved (from right to left)
      2. Document name using ^*, ^**, ^#, ^## codes resolved
      3. Functions resolved (from right to left)
      4. Clip wizard based on ^?{...} fields in line displayed
      5. Clip Command executed

      END OF HELP:

      This describes the order in which NoteTab process its varriables, functions
      and so forth. When you look at the items under Line by Line, you will see
      that functions are processed before the wizards using braces. On the other
      hand when you look at the Whole Clip processing, you will see that the
      square bracket wizards are precessed before the functions which are
      processed Line by Line. That is what is causing your DOS error message.
      You can use the braces with a function by assigning them to a variable in a
      line of code before you run the fundtion and place the variable into the
      function. By the way, no space is needed after the equal sign.

      ^!Set %Wizard%=^?{Ebter:= }
      ^!Info ^$GetDosOutput(^%Wizard%)$

      I hope this helps.

      Regards,

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