User Tag List

Results 1 to 2 of 2

Thread: fixed : stupid issue with strings

  1. #1
    Clicker Fusion 2.5SWF Export Module
    jpcr's Avatar
    Join Date
    Jul 2006
    Location
    Paris, France
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    fixed : stupid issue with strings

    hi,

    i have a stupid issue with a string. I have a global string named GLBstr and it contains "10"

    in a level , i want to test individual caracters in this string so i was thinking about something like i would do in any programing tool :

    if MID$(GLBstr ,1,1) = "1" then do something
    if MID$(GLBstr ,2,1) = "1" then do something

    i cant find how to do this in mmf 2 , any ideas?

    thanks

    edit : sorry, just found it, was me .... forgot the quotes in the = "1" part...

  2. #2
    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)

    Re: fixed : stupid issue with strings

    For anyone else stumbling on this thread with a similar question, you have to use "Compare two general values" from the special object as a condition.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Issue with LoopIndex and strings
    By AndyH in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 30th December 2013, 05:13 PM
  2. Issue with strings, ini and calculations in ios5
    By Raudaschl in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 14th October 2011, 02:14 PM
  3. Scan Global Strings and Other strings
    By Ausomeman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th May 2010, 04:01 PM
  4. MMF2 - Compare to Strings Issue
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd August 2008, 07:54 PM
  5. Using Global Strings embedded in larger strings
    By Mudstick in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th May 2008, 01:23 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
  •