gowthamik
17th August 2002, 07:41
Hi,
When I compile the script I am getting the following error :
Error: Max 255 arguments expected in function "concat$"
Error: Max 255 arguments expected in function "String.scan"
Please give the soluction
Gowthami
NPRao
17th August 2002, 09:32
Hi Gauthami,
If you check the known limits in the BaaN Tools you will find that -
Known limits
--------------------------------------------------------------------------------
Bshell
maximum string buffer size is 4K be careful when concatenating strings with '&' sign
maximum function stack depth is 75
Bic
maximum 255 arguments per function
maximum 32K variables per compilation
maximum BRANCH of 32K (BRANCH refers to the amount of generated code per function, including macros etc.)
Your program script might have exceeded the limits, hence you are getting errors.
gowthamik
17th August 2002, 10:14
Hi,
But no where I have used concat$ function.
What to do
Gowthami.K
Originally posted by gowthamik
Hi,
When I compile the script I am getting the following error :
Error: Max 255 arguments expected in function "concat$"
Error: Max 255 arguments expected in function "String.scan"
Please give the soluction
Gowthami
shah_bs
17th August 2002, 19:35
Is it o.k. for you to post your script or about 10 lines before and after the line that gives the error?
jaapzwaan
19th August 2002, 13:49
Hi,
Please check the number of input fields you're using on the report. All these input fields are concatenated as a string and send to the report (this happens in the generated report script, not in your script). If there are more than around 200 input fields (there are a couple of fixed variables as well to make it to 255), you'll get this error.
Hope this Helps,
Jaap
srinivas
19th August 2002, 15:09
is the problem solved after deleting unused report input fields??
Srinivas
vwuwoody
23rd July 2003, 06:08
I have reduce some larger deep size in report input fields and fixed the problems.
Thanks.