[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: pairs function in lua
- From: <abdul.shaik@...>
- Date: Fri, 10 Jul 2009 16:52:42 +0530
Hi,
I am not able to understand the behavior for the following lua code. I
am expecting
The portcardlog () function needs to be called for each pair in
slot_tbl, but that was
not happening. The portcardlog() function will be calling only once and
that's it.
Can anybody clarify this behavior.
for k,v in pairs(slot_tbl) do
portcardlog(k,v)
end
slot_tbl = { 1="ONE",2="TWO"...}
Thanks
Abdul
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com