Can I get the name of a String or a Alterable Value mixing letters and numbers?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Can I get the name of a String or a Alterable Value mixing letters and numbers?

    For example: I want to record in an array the value of String called "Attribute + String $ (4)"

    There have various strings called "Attribut 1", "Attribute 2", etc.

    Instead of 4 I want to put a formula whose result is also a number.

    Thanks.

  • Are you trying to write string to the array or a value to the array?
    Is the "Attribute value" a number or a string showing a number?

    If "Attribute value" is a string and you want it to be converted to a number + another number and then record it to a number array then do this:

    Str$( "Attribute value ) + number

  • I want to get the String content by its name. The names uses numbers.
    The names are "Attribute 1" or "Atrribute 2".

    I want to do a loop that automatically reads the Strings searching for its names, "Attribute " + Str$(number, may current Y position of an array).
    So if the position is 4, the String "Attribute 4" will be read.

    Thanks.

  • Ahh, I understand now.

    You want to use:

    "Attribute " + Str$( >Enter number here< )

    However I don't think you can pick an object by its name. I really wish that a feature like that was in Fusion 2.5, but I cant seem to find it.

    If you choose to do: string$( "Attribute " + Str$( value( "Counter" ) ) ), you get a syntax error.

    I'm not sure what you are using all those strings for, but what you can do instead is using only 1 string object but adding paragraphs to it and then set the paragraph number to what you want the string to show.

  • If im not missunderstanding this...
    You could retrieve an Alteable Value/ String based on its 'Index'.

    So if your AltVal list is ordered correctly

    AltValue1 ( Index1 )
    AltValue2 ( Index2 )
    altValue3 ( Index3 )
    etc

    you could just referrance the Index which would directly relate to the LoopIndex, if that makes sense.

    How can i change username and display name?
    Please login to see this link.

  • "For example: I want to record in an array the value of String called "Attribute + String $ (4)"

    So lets say you have theese AlterableStrings, and lets give them a value for the purpose of this example:

    NameS_ = Barro
    LocationS_ = Elswhere
    ClothesS_ = Pants
    EyesS_ = Blue

    All the AlterableStrings are Indexed (not sure if its0 or 1 bases, but well go for 0 based for the sake of the example ):

    NameS_ ( Index 0 )
    LocationS_ ( Index 1 )
    ClothesS_ ( Index 2 )
    EyesS_ ( Index 3 )

    Now, you can run a Loop "a"

    Example:
    + On "a"
    -> Add AterableString with Index = Index of loop "a", to Array ( X=0 , Y= Index of loop "a" )

    ^
    This will make your Array look something like this:

    Barro ( X0, Y0 )
    Elswhere ( X0, Y1 )
    Pants ( X0, Y2 )
    Blue ( X0, Y3 )

    ...
    I sounded to me like this was what you were after, but i might be misstaken

    How can i change username and display name?
    Please login to see this link.

  • The first AltValue/ AltString in the list has Index 0
    The second AltValue/ AltString in the list has Index 1
    and so on

    Here is how you get the index of an AltValue/ AltString:

    Please login to see this picture.

    ( It annoys me that the imagesturn out so big on the screen. If i resize, using Paint, the text gets distorted )

    How can i change username and display name?
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!