[Solved] Max mathematica error

i have issues here when i use max mathematica
Screenshot (1581)



you can see here, it must pick 961, but it only alway pick number 1, instead chose number 961

anyone have same issue like me ?, thanks for see my post

Are you using the same object variable name for both values? If you’re using an object variable then in that context, I believe the max() expression will use the value of the first created instance for both values. So, if the oldest object’s ID was 1 then max(1,1) would equal 1

1 Like

oh i see, i think this cause the problem, :slight_smile: my bad

1 Like