Difference between revisions of "Error Messages/40713"

Line 14: Line 14:
  
 
The '''List''' and the '''...''' parameter qualifiers cannot be used together, so you will need to remove one of the qualifiers from the function parameter declaration.
 
The '''List''' and the '''...''' parameter qualifiers cannot be used together, so you will need to remove one of the qualifiers from the function parameter declaration.
 +
 +
You can, however, use the '''repeated (...)''' qualifier with the '''Array''' qualifier, and may be able to change the '''List''' qualifier to an '''Array''' qualifier.
  
 
<br><comments />
 
<br><comments />

Revision as of 20:02, 2 February 2010

Error Message Examples

The parameter declared with a List qualifier cannot also be qualified with the repeated (...) qualifier.

Cause

In a UDF, you have declared a parameter with both List and ... qualifiers which is not allowed.

The List qualifier is used when a null-indexed dimension is expected, and the function does not want array abstraction it iterates over. Please click on the following link to learn more about List parameter qualifier.

Any parameter qualified by the repeated (...) qualifier accepts one or more parameter of the type. The parameters passed are collected with an implicit dimension, so variables with an implicit dimensions are not accepted. Please click on the following link to learn more about ... parameter qualifier.

Remedies

The List and the ... parameter qualifiers cannot be used together, so you will need to remove one of the qualifiers from the function parameter declaration.

You can, however, use the repeated (...) qualifier with the Array qualifier, and may be able to change the List qualifier to an Array qualifier.



You are not allowed to post comments.

Comments
<comments />