User Tag List

Results 1 to 2 of 2

Thread: how to convert range(0,999) to string?

  1. #1
    No Products Registered

    Join Date
    Aug 2019
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question how to convert range(0,999) to string?

    i have an edit box object (dev_console) that you can put commands into, when you press enter the command should be executed.
    so i am trying to do something like this:

    Compare two general values:
    Edittext$( "dev_console" )
    Equal
    "setversion" + "Str$( range(0,999))"

    and when you'd press enter it should put ""setversion" + "Str$( range(0,999))"" to a string
    someone know how to help?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,557
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    I'm not quite sure what you mean, but if you wanted to create implement a fully featured scripting system then you'd probably need something like one of the Lua objects or the Expression Evaluator object. Using them is quite advanced, though.

    Edit: If all you want to do is for it to do is to set the edittext to setversion then a random string then you can do something like: "setversion" + Str$(random(999)).
    .:::.Joshtek.:::.

Similar Threads

  1. Convert Value > String ???
    By Akuma in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th June 2016, 12:40 PM
  2. Convert Chrono to String
    By Redsquirrel in forum Fusion 2.5
    Replies: 12
    Last Post: 8th October 2015, 11:52 AM
  3. Get size in pixel of a string (or convert string length to pixel)
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st March 2013, 07:30 PM
  4. How to convert the Date/Time to a string?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 8th June 2010, 04:37 PM
  5. Convert picture to string
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th September 2006, 06:19 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
  •