company logo

SystemClass :: DebugParameters - Get parameter values

The function returns the parameter values passed to the function. When parameter values are defined as collection, the function returns the number of instances in the collection and the position of the instance currently selected as:

var_name(var_type): string_value // single value

var_name(var_type): count/position // collection

var_type is the type of the currently selected instance (single value) or the collection data type.

...MyOSIClass::fragment ( string parm1, int parm2 ) {

  Message(DebugFunction() + " called from \n  " + DebugFunction(1) );

  Message("called with " + DebugParameters());

}

Return value:  String object ( NString & )

Implementation details

NString SystemClass  :: DebugParameters (  )