User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: String Parser Trouble

  1. #1
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    String Parser Trouble

    I was going to use String Parser object to sort some data for me, but it seems it keeps crashing my app.
    I've taken everything apart and it looks like there is a problem with "sort elements ascending"?

    I've uploaded my problem here www.inventiveminds.dk/StringParser_error.zip
    I'd be grateful if someone could confirm that there is a bug in the object or simply tell me if I'm not using it right.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    By the look of your example, it definitely appears to be a string parser bug. An option is to use Jamie's String Tokenizer, and using the list object to sort the data.

  3. #3
    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: String Parser Trouble

    I doubt you were looking for a fix, but here is one anyway :GRIN:
    http://rapidshare.com/files/102478389/StringParser_fix.mfa.html

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    That's a clever workaround. Personally, I'm so paranoid that if an extension even once causes a crash when it shouldn't, I instantly replace it with another.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    I'm just like you then Nifflas, I also replace it... Just to make sure that it wont cause any other "random" problems or crashes!

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    I would, except the string parser is too useful for me to go without.

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: String Parser Trouble

    Thanks for your input guys.
    SEELE: I was going for that exact work around, execpt there are still issues.

    Again I've cut it down to a few events. If anyone could take a look at this it would be much appreciated.

    It seems you can't delete one element at a time? When the string is just 2 elements long it deletes both of them? Another bug?

    www.inventiveminds.dk/string_parser_quirk.zip

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    Quote Originally Posted by Benicle
    I would, except the string parser is too useful for me to go without.
    It is useful, but when it comes to plain and simple string tokenization, I can't still believe that people add the String Parser instead of Jamie's String Tokenizer.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    I do use Jamie's when it's a simple tokenizing job, most of the stuff I do isn't though.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser Trouble

    Thanks for your input guys.
    SEELE: I was going for that exact work around, execpt there are still issues.

    Again I've cut it down to a few events. If anyone could take a look at this it would be much appreciated.

    It seems you can't delete one element at a time? When the string is just 2 elements long it deletes both of them? Another bug?

    http://www.inventiveminds.dk/string_parser_quirk.zip
    That looks like another string parser bug to me. I couldn't find another explanation.

    Perhaps we need an updated string parser with the bugs solved, or even an replacement extension that makes more sense (0-based, etc.)? It's somewhat scary to add an extension to your application when you know it do have bugs...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. String splitting with string parser
    By Sejez in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th February 2013, 05:31 AM
  2. Using String Parser to check for any punctuation in a string
    By Apex in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2012, 11:03 PM
  3. Beta 10: String Parser trouble
    By DavidN in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 5th January 2011, 11:22 AM
  4. String Parser or String Parser 2? Vitalized
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 5th September 2009, 10:12 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
  •