Skip to main content
Skip table of contents

f$SetParameterFormat (f$SetzeParameterFormat)

This function sets the value of a parameter from a string. If the parameter is not of string type, a data type conversion is performed independently. Numbers are treated as per the regional settings. If the parameter does not exist, the interpretation does not end and simply an appropriate status is returned.

The difference to a direct parameter allocation is that you do not have to worry about the target parameter data type and that there is no syntax problem if parameters are not present.

This function is particularly suited to accessing a parameter indirectly, e.g. if a parameter name is read out of an Excel table, or in a function that processes all parameters in a parameter group.

Syntax:

Status = f$SetParameterFormat(ParaName,Paravalue)

 

Argument

Type

Meaning

 

ParaName

String

Name of the parameter

 

Paravalue

String

Value of the parameter. If an empty string has been entered, the destination parameter is set to NOVAL.

Result:

Integer

0: parameter has been labelled successfully
–1: parameter does not exist

Example:

Status = f$SetParameter ('Address.FreeDouble1','12.50€')

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.