Split command

Home Forums General discussions Split command

This topic contains 2 replies, has 2 voices, and was last updated by  弘道 新川 2 months, 2 weeks ago.

  • Author
    Posts
  • #3850

    弘道 新川
    Participant

    Hi,

    Our customer complains when they use gdl split command to get numbers from string, the program will stop if there is minus value in it.
    For example the following script:

    strValue=” 1, 2 , -3, 4, 5″
    split(strValue,”%n,%n,%n,%n,%n”,HD[1],s,HD[2],s,HD[3],s,HD[4],s,HD[5])

    The number 4 and 5 will not be converted in HD[4] and HD[5].
    Please advice.

    Best Regards,
    Chen

  • #3857

    Gergely Fehér
    Keymaster

    Hi,

    It seems to be a bug, I added it to our bug database.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • #3877

    弘道 新川
    Participant

    Hi,

    I see.Thanks!

You must be logged in to reply to this topic.