RenumExpression
Updates unit number in expression
bool RenumExpression(
TCHAR *in_calc,
TCHAR *out_calc,
RenumInfo *ptrRenumInfo,
int MaxLength
)
Parameters
*in_calc
|
Expression before the update
|
*out_calc
|
Expression after the update (output)
|
*ptrRenumInfo
|
Flow editing information storage class
|
MaxLength
|
Maximum number of characters of the updated expression
|
Return Value
true: Successful completion
false: Unsuccessful completion
Description
Updates the reference unit number in the expression appropriately when flow editing is performed.
The storage area where the updated string is stored must be allocated by the calling side.
Specify the size of the allocated area to MaxLength.
This returns false without storing the updated expression if an error occurs, such as the cases that the length of the updated expression exceeds MaxLength or the required information data cannot be referenced.
Notes