Value assigned to variable is never used.

Navigation:  Messages > Macro Compiler Messages > Hints >

Value assigned to variable is never used.

Previous pageReturn to chapter overviewNext page

This macro compiler hint occurs if you assign a value to a variable in a macro, but never use the resulting value of that variable it anywhere in the macro.

 

var

 nDate

begin

 nDate = FirstDateOfMonth(YearOf(n_TokenDate), 1)

 bRESULT = IsWeekEnd(n_TokenDate)

end

 

In the above example, the value assgned to nDate is never used anywhere.


Topic 110101 updated on 10-Mar-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?valueassignedtovariableisnever.htm