User Tag List

Results 1 to 4 of 4

Thread: How to convert Hex back to Byte?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    243
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Unhappy How to convert Hex back to Byte?

    Hi, I noticed that Fusion has a Hex$( ) expression, it seem to work perfectly...
    But... How do I turn it back to the original/decimal?

    It's important for people who work with binaries, without a way to convert back this become pretty much useless...

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,092
    Mentioned
    123 Post(s)
    Tagged
    2 Thread(s)
    You can use the Val function, it detects if a string starts with 0x: Val("0x100") = 256

    It also detects binary values: Val("0b100") = 4

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    243
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Really? So simple... Thanks a lot!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    aa2953b4's Avatar
    Join Date
    Feb 2019
    Posts
    92
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hidden functionality that is not in the documentation. I wonder how many people know about this feature.

Similar Threads

  1. Replies: 6
    Last Post: 28th January 2015, 08:48 AM
  2. Control over the bits within a byte?
    By CrazyMLC in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th October 2012, 01:43 PM
  3. About the Byte Array
    By dragonguy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th May 2008, 10:09 PM
  4. [BUG]TextThreshold: 0-byte-exe
    By Quinto in forum Extension Development
    Replies: 2
    Last Post: 7th May 2008, 04:19 PM
  5. Byte Change Example for Blizna
    By neat_Kliker2 in forum File Archive
    Replies: 0
    Last Post: 12th August 2006, 08:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •