Is this a bug or there for a reason?
It seems that if a declare statement has more than 16 arguments
the compiler will not compile it. I came across this problem
using the JacommPB interface, trying to access a word statement.
i used this test program to test my theory
DECLARE FUNCTION Test (a AS STRING, b AS STRING, c AS STRING, d AS STRING,_
e AS STRING, f AS STRING, g AS STRING, h AS STRING, _
i AS STRING, j AS STRING, k AS STRING, l AS STRING, _
m AS STRING, n AS STRING, m AS STRING, p AS STRING) AS DWORD
This Compiles fine but if I put one more argument in it doesnt
DECLARE FUNCTION Test (a AS STRING, b AS STRING, c AS STRING, d AS STRING,_
e AS STRING, f AS STRING, g AS STRING, h AS STRING, _
i AS STRING, j AS STRING, k AS STRING, l AS STRING, _
m AS STRING, n AS STRING, m AS STRING, p AS STRING, q AS STRING) AS DWORD
This gets an error 414 ")" expected.
Any Ideas?
------------------
Darren James
------------
TARSC Travel Systems
[This message has been edited by Darren James (edited May 09, 2001).]
It seems that if a declare statement has more than 16 arguments
the compiler will not compile it. I came across this problem
using the JacommPB interface, trying to access a word statement.
i used this test program to test my theory
DECLARE FUNCTION Test (a AS STRING, b AS STRING, c AS STRING, d AS STRING,_
e AS STRING, f AS STRING, g AS STRING, h AS STRING, _
i AS STRING, j AS STRING, k AS STRING, l AS STRING, _
m AS STRING, n AS STRING, m AS STRING, p AS STRING) AS DWORD
This Compiles fine but if I put one more argument in it doesnt
DECLARE FUNCTION Test (a AS STRING, b AS STRING, c AS STRING, d AS STRING,_
e AS STRING, f AS STRING, g AS STRING, h AS STRING, _
i AS STRING, j AS STRING, k AS STRING, l AS STRING, _
m AS STRING, n AS STRING, m AS STRING, p AS STRING, q AS STRING) AS DWORD
This gets an error 414 ")" expected.
Any Ideas?
------------------
Darren James
------------
TARSC Travel Systems
[This message has been edited by Darren James (edited May 09, 2001).]
Comment