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

[Clip] Re: ^%val% vs. %val%

Expand Messages
  • RS
    Hi Stephen, ^%MyVar% gives you the VALUE (the CONTENT) of the variable. %MyVar% gives you the NAME of the variable (i.e. MyVar ). This format is only used in
    Message 1 of 2 , May 16, 1999
    • 0 Attachment
      Hi Stephen,

      ^%MyVar% gives you the VALUE (the CONTENT) of the variable.

      %MyVar% gives you the NAME of the variable (i.e. "MyVar"). This format is
      only used in ^!Set declarations (e.g. "^!Set %MyVar%=1").


      There is a glitch in the Clip, though: ANY number you enter will be
      considered Hexadecimal. The Dec to Hex part never gets executed! That's
      because the regular numbers are also part of the hexa.

      You'll need to implement some kind of convention, like adding an "h" after
      a Hexadecimal number, so your Clip can tell the difference. The code then
      should look for it and filter it out.



      Regards,


      RS


      ======================================================

      Have you ever dreamed of...
      a Professional Clip Editor for NoteTab?

      Coming soon:

      ClipWriter.

      http://home.att.net/~ptools/main/index.htm




      ======================================================







      ======================================================

      ------------------------------------------------------------------------
      eGroup home: http://www.eGroups.com/group/ntb-clips
      http://www.eGroups.com - Simplifying group communications
    Your message has been successfully submitted and would be delivered to recipients shortly.