Skip to content
Advertisement

Why is my case within the switch query not always executed?

My Code:

JavaScript

My test output (a small excerpt):

JavaScript

The corresponding variable is integer and 60. | dump($zeilen[$i][‘satzart’])

And I have no idea why the function satz60() is not executed. (This can be seen in the test output, that no further values are output.)

It is not relevant because I did a test output before calling satz60(), but this is what the code of the called function looks like including auxiliary outputs.

JavaScript

Extract from $zeilen – raw data

JavaScript

Advertisement

Answer

My error is in the line

JavaScript

In the source file there are further area forms, which did not appear in the file description.

So it must be -without further check-:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement