View Single Post
Unread 02-13-12, 02:23 PM   #11
algritz
Claw of Regulos
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 11
Quote:
Originally Posted by Zoc View Post
How do you handle the "pause" command ? I don't see a registered coroutine.
My bad, I forgot to include it in my code, I'll update my previous comment.


Quote:
Also, I don't see QueueStatus() returning a value, and queueStatus var is never read on mailOpen(k).
This is due to the lack of clarity of my own code (shame on me) I end up just checking the value of the "global" queueStatus (it is defined as a local, but since it is done at the root level of my add-on its ends up being accessible everywhere)

Quote:
May I give you a suggestion ? Always start functions with Capital letter and avoid naming variables with the same name as functions, just differing on letter capitalization
I totally agree, I just realized how much my code is a mess :P
algritz is offline   Reply With Quote