tonumber to convert to hex?

Home Forums General Programming tonumber to convert to hex?

Viewing 2 posts - 21 through 22 (of 22 total)
  • Author
    Posts
  • #72672
    human fly
    Participant
      • Topics: 124
      • Replies: 1070
      • Total: 1194
      • ★★★★

      fantastic. (1) means starting at item1?

      #72674
      goodweather
      Participant
        • Topics: 45
        • Replies: 550
        • Total: 595
        • ★★★

        No, it is the grouping of hexa bytes in the console output:

        >>> console(LoadedProgramData:toHexString(1))
        24 24 24 24 34 30 33 31 7f 7f 7f 7f 02 02 00 02

        >>> console(LoadedProgramData:toHexString(2))
        2424 2424 3430 3331 7f7f 7f7f 0202 0002

        So you would normally only use 1…

      Viewing 2 posts - 21 through 22 (of 22 total)
      • The forum ‘Programming’ is closed to new topics and replies.
      There is currently 0 users and 98 guests online
      No users are currently active
      Forum Statistics
      Threads: 2,495, Posts: 17,374, Members: 77,605
      Most users ever online was 12 on January 22, 2019 3:47 pm
      Ctrlr