Compartilhar via


PBAVariable::checkNameXpp Method

Checks whether the specified string is a valid identifier in X++ code.

Syntax

client server public static boolean checkNameXpp(str _variableName)

Run On

Called

Parameters

  • _variableName
    Type: str

Return Value

Type: boolean
true if the variable name can be used as an identifier in X++ code; otherwise, false.

Remarks

The variable name is tested against X++ syntax and it is only valid if it is accepted by the compiler.

See Also

Reference

PBAVariable Table