User Tag List

Results 1 to 4 of 4

Thread: Strange ini / string format issue

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Strange ini / string format issue

    I load two stringvalues from my inifile and compare them. The value in both items is "22:00".
    I tell MMF2 to do something if the two values are equal. MMF2 does nothing...

    I then put the two values into two edit boxes and compare the value of the edit boxes instead. MMF2 still does nothing when I run it.
    When I manually erase the value of the second edit box, and type "22:00" in it, MMF2 does what it is supposed to do.
    If I only changed the value if the first edit box, MMF2 still treated them as different.

    So, what makes MMF2 treat "22:00" and "22:00" as two different strings? The second value seems to be in a different format. Is there some special formatting in the inifile I don't know about? Is there some way to convert the second value into plain text so that MMF2 will see that they are the same string?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Popcorn - Puzzling... Perhaps you have some whitespace in one of your strings? e.g. a space, tab, return or newline character.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    That was my first thought also, but that's not it. The two strings seems totally identical.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    What does it look like in a byte-by-byte hex editor?
    Working as fast as I can on Fusion 3

Similar Threads

  1. Loading images by name (string) not by file format
    By simonbelmont in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st October 2012, 08:05 AM
  2. Beta 10: Strange button issue
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 11th January 2011, 09:43 PM
  3. Strange Sub-App Issue
    By Uzalu in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 22nd December 2009, 01:53 AM
  4. strange issue with counter :/
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th August 2007, 03:05 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
  •