User Tag List

Results 1 to 5 of 5

Thread: ASCII or CHR()

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    ASCII or CHR()

    Is there a way to build a string based on ascii values (without building an ascii table)?

    I need to get an integer value and convert it to a character and store the resulting string and ultimately display the string.

    I've already done it the hard way (if iNumber = 97 then sWord=sWord + "a") but I don't really want to keep looking at 62 rows in the event window just to build a string (upper and lower case letters plus 0-9 numbers).

    A simple sWord=sWord+Chr(iNumber) would be soooo much easier on the eyes, and my sanity.

    Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: ASCII or CHR()

    String parser 2 has ord and chr.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: ASCII or CHR()

    Fantastic! Thanks!

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ASCII or CHR()

    You can also use "Formatted object" which has many other features like that which could be useful for you.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: ASCII or CHR()

    Interesting... I'll look into that as well, thanks!

Similar Threads

  1. Character ASCII value?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th November 2011, 02:47 PM
  2. ASCII Character Object
    By Jaffob in forum Released Extensions
    Replies: 2
    Last Post: 24th August 2011, 03:37 PM
  3. Hex, ASCII, and Base64
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th April 2011, 05:09 AM
  4. ASCII
    By ouly in forum Released Extensions
    Replies: 0
    Last Post: 16th March 2010, 03:42 PM
  5. How to write the NULL ASCII character?
    By Pablo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th February 2008, 12:00 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
  •