Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Cannot assign void function result to a variable

Scroll Prev Up Next More

This compiler error will occur if you try to assign the result of a void function to a variable.

 

For example:

bRESULT = Reset_FindNextHolidayOnDate()

In the above example, the function Reset_FindNextHolidayOnDate does not return any value and, therefore, it cannot be assigned to a variable such as bResult.

 

 

 


Topic 109010, last updated on 18-Apr-2020