Cicode Programming Reference > Cicode Function Categories > Super Genie Functions > AssWinReplace

AssWinReplace

This function removes the associations on a specified Super Genie window and applies any pending associations. This may be a useful alternative to calling PageDisplay or WinNewAt to update associations, as a full page reload is not required.

You need to call this function once for every Super Genie substitution string in the specified window, otherwise the variable (substitution string) will remain uninitialized and will be displayed as #ASC.

Syntax

AssWinReplace(nTargetWindow)

nTargetWindow:

The number of the window where associations will be replaced.

Return Value

0 (zero) if successful, otherwise an error code is returned.

Example

Ass(-3,  "Level", "MILK_LEVEL", 0);
AssWinReplace(2);

Related Functions

Ass, AssChain, AssMetadata, AssMetadataPage, AssMetadataPopup, AssMetadataWin, AssChainPage, AssChainPopUp, AssChainWin, AssChainWinFree, AssGetProperty, AssGetScale, AssInfo, AssInfoEx, AssPage, AssPopUp, AssScaleStr, AssTag, AssVarTags, AssWin

See Also

Super Genie Functions

Published June 2018