Announcement

Collapse
No announcement yet.

mak(quad,...)

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

  • mak(quad,...)

    Hello Community!

    I can't get MAK(Quad,mylong1,mylong2) to work properly.
    The upper value will not be added, as far as I can see.

    Thanks for help
    and greetings from Germany,
    Heinz Grandjean
    Heinz Grandjean
    http://www.estwgj.com/

  • #2
    Allegedly failing code not shown.

    Here is some allegedly WORKING JUST FINE code:
    Code:
    FUNCTION PBMAIN () AS LONG
    
     LOCAL L1 AS LONG, L2 AS LONG, Q AS QUAD
     
     L1 = 1&
     L2 = 2&
     Q  = MAK(QUAD,L1, L2)
     MSGBOX USING$ ("# # # # # " , L1, L2, Q,  LO(LONG,Q), HI (LONG, Q))
    
    END FUNCTION
    MCM
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Hello again!

      Sometimes questions are silly and so was mine!
      I made a mistake in reading out the quad value, because I used a reading-function for Dword/long variables.
      I apologize for waisting Your time and many thanks to Mr. Mattias.

      Greetings from Germany
      Heinz Grandjean
      Heinz Grandjean
      http://www.estwgj.com/

      Comment


      • #4
        Wie ghets Heinz Meine Duestches ist nicht so gute but Welcome to the world of PB.

        Quite often you will find that offering a demo will get more results, or even in the concept of trying to offer a demo, you find the problem yourself
        Engineer's Motto: If it aint broke take it apart and fix it

        "If at 1st you don't succeed... call it version 1.0"

        "Half of Programming is coding"....."The other 90% is DEBUGGING"

        "Document my code????" .... "WHYYY??? do you think they call it CODE? "

        Comment

        Working...
        X