User Tag List

Results 1 to 4 of 4

Thread: Putting a value in a string

  1. #1
    No Products Registered

    Join Date
    Jun 2015
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Putting a value in a string

    For the life of me, I cant figure out a way to do this. I just need to put a value of a counter into a string, and every time I try it says you cant mix numbers and strings. Is it even possible?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    718
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    There is a button in the expression editor (Str$) that will let you do this. It will look something like this Str$(number) This converts the number to a string for you. Additionally there is a Val button for Val(string) that will let you convert a string to a number.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,731
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Converting Values to Strings and Strings to Values -
    Use Str$( ) or Val( )

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    No Products Registered

    Join Date
    Jun 2015
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for replying so quickly. After doing some testing I managed to figure it out, I guess I had some wrong syntax because I tried it before and it didn't work. After trying something unrelated, I managed to accidentally stumble into it. But thank you for the help anyway!

Similar Threads

  1. Putting a counter value into a string?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th May 2012, 07:54 PM
  2. Help with putting on web
    By evilsavage in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th December 2009, 02:15 AM
  3. Putting a game online
    By im2famous4u in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th March 2008, 08:08 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
  •