![]() |
MKI_VariableAdd (Elements) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_VariableAdd( const LPCWSTR f_pszName, const LPCWSTR f_pszData );
Creates a new variable or replaces an exiting variable's value.
ParametersName [const LPCWSTR] Name of the variable. The maximum length of a variable's name is MKI_LENGTH_NAME_SHORT characters! Data [const LPCWSTR] New value of the variable. If Data is nullptr, the variable stated in Name will be deleted if it exists. If is does not exist, false is returned. If Data is not nullptr, the variable stated in Name will be set to the value given in Data, if it already exists. If not, a new variable will be created. The maximum length of a variable's value is MKI_LENGTH_VARIABLE characters!
Return ValueReturns true if successful, false if not.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH