User Tag List

Results 1 to 5 of 5

Thread: How to use quotes in expressions without them ending strings?

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    May 2011
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to use quotes in expressions without them ending strings?

    Code:
    datablock fxDTSBrickData (brick64xCubeData)
    {
    	brickFile = "./64x Cube.blb";
    	category = "Baseplates";
    	subCategory = "Cube";
    	uiName = "64x Cube";
    	iconName = "Add-Ons/Brick_Large_Cubes/64x Cube";
    };
    I am trying to use the expressions along with the edit box object to replace the value areas with variables in my application. How can I make the quotation marks not cause strings to end?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I usually just put a quotation mark in a string object, and then retrieve the alterable value of that string whenever I need to use a quotation mark in an expression.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    replace them with ' ?

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use two, so it would be ""

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    May 2011
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, I figured it out after trying some of what Game_Master suggested.

    EDIT: Wait, I try to put the quotes into paragraphs in the string object, but it seems to just ignore those when setting text to the edit object.

    Jacob's idea worked, thanks.

Similar Threads

  1. Using expressions in strings?
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 14th January 2016, 09:07 AM
  2. FastFunction not returning strings in expressions
    By jdv in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th April 2009, 02:42 PM
  3. strings and expressions
    By taciturn in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd September 2008, 02:37 PM
  4. Programming quotes
    By Anders in forum Extension Developers Lobby
    Replies: 0
    Last Post: 5th September 2006, 04:32 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
  •