Error A positive integer field is expected

Forums ProRealTime English forum ProBuilder support Error A positive integer field is expected

Viewing 5 posts - 1 through 5 (of 5 total)
  • #161869

    I got the Calculation error: ‘Error in the indicator… A positive integer field is expected with Count’

    I have to re-code it as

    Why ?

    #161877

    If you discovered how to work it out correctly it’s because you got the hang of it!

     

    #161886

    You answered your own question. If a negative integer is not allowed then don’t use one and use a positive one that is allowed instead!

    #161900

    Because COUNT variable is sometimes negative! 😉 Not possible to use a variable with a negative offset!

    Decrease[-1] will flash that error.

    #161925

    Haha. Now I realized my mistake. I copy this example somewhere without realizing that it use the Count to index. I ‘assume’ it use the variable i to index.

    The correct code should be

    I learn the danger pf copy/paste code.

    Thks everyone for taking interest and interesting comments.  Cheers.

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login