Spent a few minutes trying to debug this error :
63: METHOD PUBLIC DotR.#42.Model.DeviceLine EXTENT (p_Device AS DotR.#42.Model.Device):
64: DEF VAR x AS INT EXTENT NO-UNDO.
X 65: EXTENT(x) = 1.
66: END METHOD.
and the error at line 65 is
Syntax Check:
Mismatched number of parameters supplied to 'EXTENT', Expecting 1 but 2 were
specified. (2680)
Have a look at the supplied screenshot for confirmation of this (BTW - does anyone know why "insert image" is greyed out ?)
Go on, laugh. But you know that you've all done similar things before ...
jmls wrote:
Spent a few minutes trying to debug this error :
63: METHOD PUBLIC DotR.#42.Model.DeviceLine EXTENT (p_Device AS DotR.#42.Model.Device):
64: DEF VAR x AS INT EXTENT NO-UNDO.
X 65: EXTENT(x) = 1.
66: END METHOD.
and the error at line 65 is
Syntax Check:
Mismatched number of parameters supplied to 'EXTENT', Expecting 1 but 2 were
specified. (2680)
Have a look at the supplied screenshot for confirmation of this (BTW - does anyone know why "insert image" is greyed out ?)
Go on, laugh. But you know that you've all done similar things before ...
Nice one. What does it consider the 2nd argument?
-- peter