On this page
fsVarsGetRegisteredNamedVarId
NOTE
Deprecated. Use fsVarsGetLVarId instead.
The fsVarsGetRegisteredNamedVarId function can be used to get the FsNamedVarId of a specific NamedVar.
Syntax
FsNamedVarId fsVarsGetRegisteredNamedVarId(
const char* name
);Parameters
| Parameters | Description |
|---|---|
name | The name of the variable. |
Return Values
The function returns the right Id associated to the given name. If there is no NamedVar matching the given name, the function will return FS_VAR_INVALID_ID.
Example
FsNamedVarId namedVarId = fsVarsGetRegisteredNamedVarId("TOTO");Prev
fsVarsGetOVarIdNext
fsVarsGetUnitId