Dear,
It looks like something which have to deal with the endfunction state-
ments in your script.
So with the code
code:
IF ("true" = "false")
endfunction
ENDIF
we get the same results as previous post.
With the code
code:
GOTO weet_ik_niet
the last part of the output is
code:
- 580-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
Installation of KiXtart 4.21 Release Candidate 1 completed
- 581-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
- 582-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
- 583-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
- 584-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
- 587-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
- 590-03:50:19-20030302_035018.100_365 - 0 The operation completed successfully.
- 591-03:50:23-20030302_035018.100_365 - 6 The handle is invalid.
- 592-03:50:23-20030302_035018.100_365 - 6 The handle is invalid.
- 593-03:50:23-20030302_035018.100_365 - 6 The handle is invalid.
- 594-03:50:23-20030302_035018.100_365 - 6 The handle is invalid.
- 595-03:50:23-20030302_035018.100_365 - 6 The handle is invalid.
- 596-03:50:23-20030302_035018.100_365 - 6 The handle is invalid.
ERROR : LABEL [weet_ik_niet] not found!
Script: c:\temp\IXP000.TMP\start2.kix
Line : 707
With the code
code:
"calling unknown macro" @unknown_macro
we get as result
code:
- 580-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
Installation of KiXtart 4.21 Release Candidate 1 completed
- 581-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
- 582-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
- 583-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
- 584-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
- 587-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
- 590-03:56:24-20030302_035623.300_1018 - 0 The operation completed successfully.
- 591-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
- 592-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
- 593-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
- 594-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
- 595-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
- 596-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
calling unknown macro 0
- 597-03:56:25-20030302_035623.300_1018 - 6 The handle is invalid.
- 598-03:56:25-20030302_035623.300_1018 - 0 The operation completed successfully.
With the code
code:
unknown_function("true")
we get as result
code:
- 580-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
Installation of KiXtart 4.21 Release Candidate 1 completed
- 581-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
- 582-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
- 583-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
- 584-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
- 587-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
- 590-03:59:45-20030302_035944.100_365 - 0 The operation completed successfully.
- 591-03:59:47-20030302_035944.100_365 - 6 The handle is invalid.
- 592-03:59:47-20030302_035944.100_365 - 6 The handle is invalid.
- 593-03:59:47-20030302_035944.100_365 - 6 The handle is invalid.
- 594-03:59:47-20030302_035944.100_365 - 6 The handle is invalid.
- 595-03:59:47-20030302_035944.100_365 - 6 The handle is invalid.
- 596-03:59:47-20030302_035944.100_365 - 6 The handle is invalid.
ERROR : unknown command [unknown_function]!
Script: c:\temp\IXP000.TMP\start2.kix
Line : 707
With the code
code:
ENDSELECT
the output is
code:
- 580-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
Installation of KiXtart 4.21 Release Candidate 1 completed
- 581-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
- 582-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
- 583-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
- 584-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
- 587-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
- 590-04:01:26-20030302_040125.110_397 - 0 The operation completed successfully.
- 591-04:01:27-20030302_040125.110_397 - 6 The handle is invalid.
- 592-04:01:27-20030302_040125.110_397 - 6 The handle is invalid.
- 593-04:01:27-20030302_040125.110_397 - 6 The handle is invalid.
- 594-04:01:27-20030302_040125.110_397 - 6 The handle is invalid.
- 595-04:01:27-20030302_040125.110_397 - 6 The handle is invalid.
- 596-04:01:27-20030302_040125.110_397 - 6 The handle is invalid.
ERROR : ENDSELECT without SELECT!
Script: c:\temp\IXP000.TMP\start2.kix
Line : 707
So our conclusion:
Lonkero's issue handles about a real problem with the interpretation of ENDFUNCTION.
Other mistypes like incomplete commands, unknown functions and macros will be handled
in a correct way.
Normally we doesn't have such problems because we are always verifying our
scripts on mistypes by our tools kixstrip and kixref. Just a
simple try by Lonkero shows what the problems really can be.
greetings.