Announcement

Collapse
No announcement yet.

&HFFFFFFFF??? / What is the the meaning of ??? here?

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

  • &HFFFFFFFF??? / What is the the meaning of ??? here?

    &HFFFFFFFF??? / What is the the meaning of ??? here?

    Or this:
    %HSHELL_HIGHBIT = &H8000??
    Last edited by David Clarke; 11 Oct 2017, 02:06 PM.

  • #2
    https://www.powerbasic.com/help/pbcc/numbers.htm

    Comment


    • #3
      ?? = word precision literal
      ??? = double word precision literal

      see https://www.powerbasic.com/help/pbcc/numbers.htm

      Frank

      Comment


      • #4
        It is a means of enforcing a data type, for example 8 could be an INTEGER, WORD, DWORD, LONG, or even a QUAD as well as a floating point type.
        Using the HEXADECIMAL format forces it to be one of the integer types.
        It comes in handy when creating DWORD out of two WORD types for example.
        Rod
        "To every unsung hero in the universe
        To those who roam the skies and those who roam the earth
        To all good men of reason may they never thirst " - from "Heaven Help the Devil" by G. Lightfoot

        Comment


        • #5
          Thanks!

          Comment


          • #6
            What is the the meaning of ??? here?
            More generally, "???" is a type specifier, the use of which is a good habit to acquire and develop for all inline numeric literals used, even those used to define equates.
            Michael Mattias
            Tal Systems Inc.
            Racine WI USA
            mmattias@talsystems.com
            http://www.talsystems.com

            Comment

            Working...
            X