1 Reply Latest reply: Aug 23, 2013 1:17 PM by GordonSmith RSS

    Working with hexadecimals

    fsoender Community Member



      I want to send some hexadecimals thru UDP.

      So how do I send forexample: 0x40 0x50 0x60?


      Can I do it like this?



      public var Value:String;


      Value = "0x40 0x50 0x60";

        • 1. Re: Working with hexadecimals
          GordonSmith FormerEmployees

          If you mean you want to send three characters whose hex codes you know, you need to use an escape sequence like "\x40\x50\x60". The string "\x40" is just one character whose hex code is 40. The string "0x40" is four characters, "0", "x", "4", and "0".