Announcement

Collapse
No announcement yet.

Type Cast Equates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Type Cast Equates

    Hello everyone,

    Is there a way to type cast equates, ie.

    %MyEquate = 1 as Long

    Would the following line insure that we
    are dealing with a long for the equate:

    %MyEquate = &h00000001

    Thanks all,

    Michael

    ------------------

  • #2
    You can add a type specifier

    %MY_LONG = 1&
    %MY_DWORD = 1???

    Equates are limited to integer class variables.

    MCM
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Just what I was looking for, thanks Michael.

      ------------------

      Comment

      Working...
      X