Comparing the value of an array position and a string?

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.
  • I've been pondering over this all day.. I'm trying to compare the value saved in an array position to a number saved in a string. I thought I was on the right track with this:

    ValueAtXY("array", 1, 1) = Val(string$("string"))

    That, however, does not seem to do anything for me.

    I've tried:

    ValueAtXY("array", 1, 1) = Value("string")

    as well and that doesn't do it..

    Anyone have any insight for me?

  • ValueAtXY("array", 1, 1) = Value("string")
    ^ This should be correct, you dont need the extra 'Srting$()' conversion inside the 'Value()' conversion.

    What is your String displaying?
    Are you sure it doesnt contains letters or 'white spaces'?

    Try creating a Counter, and make it display the Value() of the string
    Do the same for the specific Array possition, and see if the numbers are the same

    If they are, ValueAtXY("array", 1, 1) = Value("string") should trigger

    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!