User Tag List

Results 1 to 5 of 5

Thread: Add to a global string

  1. #1
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Add to a global string

    Heya.. it is possible to add to a string?

    I was thinging (just an example):
    I got a bowl...put a peach into the bowl and add "peach" to a global string.

    then put a apple into the bowl and add "apple" to the same global string.

    Then I check if the global string is = to "peachapple" and do something!!

    is that possible?

  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: Add to a global string

    Strings in MMF2 are always able to be added to:
    "peach" + "apple" == "peachapple"
    thus,
    Global String A = ""
    Global String A = Global String A + "peach"
    Global String A = Global String A + "apple"
    Global String A == "peachapple"
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Add to a global string

    Ok thanks.. Im totally new to mmf though, So I don't know where to put in lines of code myself. If that is what you are saying.

  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)

    Re: Add to a global string

    No, there are no lines of code. You have to actually Set a global string to itself + whatever you want to add to it.
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Add to a global string

    I just found out ... thanks for a quick and understandable reply.

Similar Threads

  1. Using a Global Value within Global String?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th August 2013, 12:32 PM
  2. [BUG] Global Value and Global String the same name
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th January 2010, 09:11 PM
  3. Global String
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th May 2007, 05:42 PM
  4. set a global string
    By Elegios in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 21st July 2006, 07:37 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
  •