You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far I detected 7 problems running a script via execscript:
1. parameters - only 3 parameters are recognized
parameters a,b,c,d,e,f,g,h
a,b,c //=> ok
d,e,f,g,h //=> NIL
return 0
2. IF CLAUSE - elseif does not work:
local x
x := DoSomething()
if x > 100
x := 100
else
x := 10
endif
=>ok
local x
x := DoSomething()
if x > 100
x := 100
elseif x > 50
x := 50
else
x := 10
endif
=> Macrocompiler: error XM0100: Expected 'END IF'
3. DO CASE - do case statement without otherwise does not work:
local x
x := DoSomething()
do case
case x > 100
x := 100
otherwise
x := 10
endcase
=> ok
local x
x := DoSomething()
do case
case x > 100
x := 100
endcase
=> Der Objektverweis wurde nicht auf eine Objectinstanz festgelegt
4. SWITCH - switch does not work at all
=> Macrocompiler: error XM0100: Expected 'EOS'
5. FOR NEXT - not a bug, only a flaw
if you type "next n":
for n := 1 upto 10
DoSomething()
next n
=> Macrocompiler: error XM0100: Expected 'EOS'
6. Default-function
parameters a
default(@a,5)
=> Macrocompiler: error XM0100: Expected 'type'
7. PROCNAME() - not a bug, only a flaw
procname(1) gives the whole Script in capitals
Maybe "[SCRIPT]" or something else might make more sense.
Perhaps even a scriptname (in the first line of the script, e. g. "method testscript")
The text was updated successfully, but these errors were encountered:
So far I detected 7 problems running a script via execscript:
1. parameters - only 3 parameters are recognized
parameters a,b,c,d,e,f,g,h
a,b,c //=> ok
d,e,f,g,h //=> NIL
return 0
2. IF CLAUSE - elseif does not work:
=>ok
=> Macrocompiler: error XM0100: Expected 'END IF'
3. DO CASE - do case statement without otherwise does not work:
=> ok
=> Der Objektverweis wurde nicht auf eine Objectinstanz festgelegt
4. SWITCH - switch does not work at all
=> Macrocompiler: error XM0100: Expected 'EOS'
5. FOR NEXT - not a bug, only a flaw
if you type "next n":
=> Macrocompiler: error XM0100: Expected 'EOS'
6. Default-function
=> Macrocompiler: error XM0100: Expected 'type'
7. PROCNAME() - not a bug, only a flaw
procname(1) gives the whole Script in capitals
Maybe "[SCRIPT]" or something else might make more sense.
Perhaps even a scriptname (in the first line of the script, e. g. "method testscript")
The text was updated successfully, but these errors were encountered: