Τρίτη 29 Ιανουαρίου 2019

Revision 8 Version 9.7

A bug fixed for Select Case, and a second one
from the example below, when T() called then a bug cause the code to exit after return from sub, and return "missing End if" (this was a second bug). Now fixed. If we have {T()} then was no problem. Version 9.6 has no problem.

if true then
      select case 1
      Case 1
            T()
      Case 2
            T()
      End select
      Print "done"
Else
      Print 3
End if

Sub T()
Print "ok"
End Sub

The second was simpler (also exist in Version 9.6)
For function was no problem, but in module, then "missing end if" happen. Now fixed.

module b {
      if true then
            exit
      end if
}
function c {
      if true then
            exit
      end if
}
Print c()
b

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου

You can feel free to write any suggestion, or idea on the subject.