We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

List Comparison

Home Forums Puzzles List Comparison

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #25359
    sirhc
    Customer

    Hi :bye: ,
    When I compare a list of variables to another list,….it always returns false??
    Even in the console (F12) the lists are the same??
    Keeps returning false?
    It feels I’m doing something wrong.
    Anyone care to take a look?

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:137c2c3806/applications/my_awesome_snapp7/my_awesome_snapp.html

    I think the solution might be simple,….
    thanks in advance :good:

    Chris

    Technical Artwork Specialist@TBL.nl

    #25363

    Hi,

    In JavaScript (which Puzzles are based on), comparison of an Array with another Array always produces false, because unlike with Numbers, this operation just checks if 2 Arrays are different instances or not.

    The simplest workaround is to convert your list to text first (aka “join” operation), and then compare the text lines.

    https://www.soft8soft.com/docs/manual/en/puzzles/Lists.html#list_text_conversion

    Chief 3D Verger | LinkedIn | Twitter

    #25364
    sirhc
    Customer

    I going to try that!!! :good:
    Tnx for the quick reply Yuri!!!!!
    much appreciated!!!!!

    Technical Artwork Specialist@TBL.nl

    #25380
    sirhc
    Customer

    Hi Yuri,
    thanks for the help about the ‘list’ issue.
    It’s been fixed!; as you said with the convert to text option.

    Brings me to the next question:
    Why is my project(link in first post) so blurry in Microsoft Edge.
    (and what I hear also in Opera (have not been able to check that))
    I’ve been googling,…..can’t find much,….
    Found something about edge using GPU rendering or something :wacko:
    I don’t know :scratch:
    Is there a way to fix this??
    Please help,…..(again) :-(

    Chris

    Technical Artwork Specialist@TBL.nl

    #25388

    It’s been fixed!; as you said with the convert to text option.

    glad it worked for you!

    hy is my project(link in first post) so blurry in Microsoft Edge.

    Are you using the latest version of Microsoft Edge browser?

    Chief 3D Verger | LinkedIn | Twitter

    #25390
    sirhc
    Customer

    Yes , that helped!!
    Issue Solved!!!
    Tnx Yuri, U R the best! :good:

    Technical Artwork Specialist@TBL.nl

    #25432

    sure! :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.