lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I apologize for the delay in response to your reply to my question.  I was away in a class.

 

The question was about a function that returned a table.  The debugging messages in the function indicated that the table was properly built, but the main routine had nil for a table.  The function was more than a page long, and I made a typographical error in the return statement.  So the problem was my “fat fingers” that type more than one key per keystroke.  I could not view the return statement and the guts of the code at the same time.

 

Thanks for your response.

 

It would seem to me that an option like VB’s “Option Explicit” where all variable names must be declared would help with this sort of problem.  Is this a major code effort, something that would compromise lua’s philosophy, or …?

 










CONFIDENTIALITY NOTICE: This E-mail message and all attachments, which originated from Sealy Management Company Inc, are intended solely for the use of the intended recipient or entity and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, you are hereby notified that any reading, disclosure, dissemination, distribution, copying or other use of this message is strictly prohibited. If you have received this message in error, please notify the sender of the message immediately and delete this message and all attachments, including all copies or backups thereof, from your system. You may also reach us by phone at 205-391-6000. Thank you.