How to deal with warning 501

Hi Friends,

I'm getting below warning message. Please help me to correct it.

error

Thanks

You don't need to "deal" with that. Warning is not an error.
Read this:

Also, post FORMULA so it can be copy-pasted instead of forcing people to re-type the code. It is your homework to provide formula. Please follow this advice: How to ask a good question

If you really need to "deal" with it you can wrap the assignment in braces and apply comparison:
for( n = 0; ( id = GuiGetEvent( n, 0 ) ) != 0; n++ )

1 Like

Hi Tomasz,

Thanks for your help and quick response.
Sure I will follow your advice and paste the code.
Sorry for the inconvenience.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.