IBM Support

How to add variable length argument list for the function or operation in Rhapsody

Technote (FAQ)


Question

How do you add a variable length argument list so that it looks like "void abc(int,...)" for the function or operation in IBM Rational Rhapsody?

Answer

Following property enables to add a variable length argument list for the function or operation.
CG::Operation::VariableLengthArgumentList checked

The code generator will add the three dots as an argument.

Document information

More support for: Rational Rhapsody
General Information

Software version: 7.5, 7.5.0.1, 7.5.1, 7.5.1.1, 7.5.2, 7.5.2.1, 7.5.3, 7.5.3.1, 7.5.3.2, 7.6, 7.6.0.1, 7.6.1, 7.6.1.1, 7.6.1.2

Operating system(s): Linux, Windows

Reference #: 1323702

Modified date: 15 June 2007