User Tag List

Results 1 to 6 of 6

Thread: hex numbers?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    hex numbers?

    Hi, I'm trying to use the memory object to directly change values in memory. How can I pass the memory address for it? For example, one address I'd like to manage is "006D1C20" (an integer) - how can I enter this 006D1C20 address value on memory object?

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: hex numbers?

    This really should be fixed.... JAMIE!

    but just convert it yourself for now (use the windows calculator)

    006D1C20 is 7150624

  3. #3
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: hex numbers?

    Or just use Val() since it understands hex.

    Val("0x006D1C20") = 7150624

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: hex numbers?

    Hum... this "val" is what I was looking for. I thought I could enter 0x006D1C20 directly... Thank you!

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: hex numbers?

    Val() converts a string into a number, either integer, float or hex.
    Val("42") = 42
    Val("3.1415") = 3.1415
    Val("0x006D1C20") = 7150624

    Str$() does the opposite, but only turns it into base-10 human readable numbers. I think you can use the Hex$() function to turn a value into a hex string again.

  6. #6
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: hex numbers?

    Quote Originally Posted by Andos
    Val() converts a string into a number, either integer, float or hex.
    it'll also convert binary strings to values

Similar Threads

  1. Random Numbers and expiring the result numbers.
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th April 2013, 04:11 PM
  2. Adding numbers?
    By blub in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th April 2012, 05:16 AM
  3. Set of numbers
    By Timon in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd December 2011, 01:10 PM
  4. Random Numbers Greater then Random Numbers...
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th April 2009, 06:24 AM
  5. How do I get only these numbers: 2 to 48?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th December 2007, 10:27 AM

Posting Permissions

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