lua-users home
lua-l archive

Re: Constructing tables in tables

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


 idx = 0;
 print(" info: found " .. o.comments.getn .. " comments\n");
[...] I get an error (attempt to concatenate field `getn' (a nil value)). [...]
hmmm.. shouldn't be something like:
 print(" info: found " .. table.getn(o.comments) .. " comments\n");
?
--rb

AltStyle によって変換されたページ (->オリジナル) /