This compiler warning indicates that neither result variable, sRESULT or bRESULT, is explicitly assigned. Check whether the default values (false for bRESULT and an empty string for sRESULT) produce the intended resulting actions.
If the macro is intended only to perform other operations, the omission may be deliberate.But, generally this warning should always be addressed.
Below is an example:
var
bHolidayToday sTokenValue
begin
bHolidayToday = HolidayOfListOnDate('a', n_TokenDate)
sTokenValue = EvalToken(n_TokenDate, s_TokenRoot)
end
The above macro verifies if there is a holiday on the token date, and converts the token. But never sets a value for bRESULT and sRESULT, the only 2 values that are considered at the end of a macro.
This warning is generated by the failure of a macro to assign a value to either sRESULT or bRESULT, and will still be generated if your macro uses these, as in the example below.
var
bTemp sTemp
begin
bTemp = bRESULT
sTemp = sRESULT
end
Topic 171270, last updated on 17-Oct-2026