SetWeak

SetWeak

%SetWeak function


Old name

%SetWeakV

Function

The function sets or clears the Weak attribute of the given expression value. The result is a value of the same type as the expression.

Declaration

UNIVAL %SetWeak( UNIVAL in expression, BOOL in value )

Parameters

expression

Optional expression.

value

@TRUE - assign.
@FALSE - does not assign the Weak state to evaluated expression value.

Example

%SetWeak(U.K4_Absorbtion1+P.K4_AbsorbtionChange, @TRUE)