Skip to main content
Best answer by LucMeekes

To JH_9781973..

You should also realise that:

1.

LucMeekes_0-1741167781485.png

contains the value 2.54, because index counting starts at 0 (controlled by the value of system variable ORIGIN).

2.

The test

LucMeekes_1-1741167873769.png

will always return False, because to test for NaN's you'd have to use the IsNan() function.

3. 

Your loop is a bit silly, becasue you are testing the same thing over and over again.

The reason the result of your program is 5 (after applying TTokoro san's correction) is because p=6, if you set p:=3, the result of your program will be 2, because the program defines keep := x -1, and x runs from 0 to p.

4.

The top left corner of the matrix System (at index 0,0), contains the string value "Size", which is not a number but it is also not a NaN.

(a NaN is a special number, defined within the IEEE number format)

 

Success!
Luc

 

 

1 reply

ttokoro
21-Topaz I
21-Topaz I
March 5, 2025

image.pngmust before image.png 

image.png must need value a.

t.t.
LucMeekes23-Emerald IVAnswer
23-Emerald IV
March 5, 2025

To JH_9781973..

You should also realise that:

1.

LucMeekes_0-1741167781485.png

contains the value 2.54, because index counting starts at 0 (controlled by the value of system variable ORIGIN).

2.

The test

LucMeekes_1-1741167873769.png

will always return False, because to test for NaN's you'd have to use the IsNan() function.

3. 

Your loop is a bit silly, becasue you are testing the same thing over and over again.

The reason the result of your program is 5 (after applying TTokoro san's correction) is because p=6, if you set p:=3, the result of your program will be 2, because the program defines keep := x -1, and x runs from 0 to p.

4.

The top left corner of the matrix System (at index 0,0), contains the string value "Size", which is not a number but it is also not a NaN.

(a NaN is a special number, defined within the IEEE number format)

 

Success!
Luc

 

 

8-Gravel
March 5, 2025

Thank you for the detail I made the changes but still for some reason it does not work. How do I go to correct this?