IBM Support

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

Question & Answer


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.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"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","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323702