Author Topic: REXX programming question  (Read 1469 times)

adam

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 61
    • View Profile
REXX programming question
« on: December 14, 2013, 09:01:04 pm »
Hi guys just a simple question. Is there a way in REXX to take a low order 32-bit value and a high 32-bit  and combine them? I want to combine the 2 32-bit values returned from Dos QuerySysInfo that contain the number of seconds from the system clock. I can get them separately and print them to the screen but I want to combine them into a single number even though right now the high-order word contains 0.



Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 28
  • Posts: 130
    • View Profile
    • Wim's home page
Re: REXX programming question
« Reply #1 on: December 15, 2013, 10:37:34 am »
I tried this:

/* use 20 digits */
say 'digits='digits()
say 65536*65536*65536*65536
numeric digits 20
say 'digits='digits()
say 65536*65536*65536*65536

Success!