Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
ANRC Universe
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module talk:TableTools
(section)
Add topic
Module
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Add topic
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Template-protected edit request on 4 March 2019 == {{edit template-protected|Module:TableTools|answered=yes}} Please add function ipairsAt()/ipairsAtOffset() as demonstrated {{diff| Module:TableTools/sandbox|diff=886292279|oldid=884152164|label=here}}. [[User:Ans|Ans]] ([[User talk:Ans|talk]]) 10:23, 4 March 2019 (UTC) : {{ping|Ans}} What is the usecase for this function? [[User:Pppery|{{3x|p}}ery]] ([[User talk:Pppery|talk]]) 15:08, 4 March 2019 (UTC) :: I plan to use in function p.call() in [[Module:LuaCall]] --[[User:Ans|Ans]] ([[User talk:Ans|talk]]) 10:40, 5 March 2019 (UTC) ::: Those are both so simple you could just do it inline. Also, I really hope you're not planning on actually using [[Module:LuaCall]] somewhere outside of maybe your user space, per [[Module talk:LuaCall#I sincerely hope that no one ever actually uses this]]. [[User:Anomie|Anomie]][[User talk:Anomie|β]] 13:35, 5 March 2019 (UTC) *{{notdone}} per above. β [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 15:00, 5 March 2019 (UTC) ::: It is not so simple, as the user need to understand the mechanism of ipairs() and iterator to do it inline. The proposed function could help users who want to iterate like this, but don't know how to do it inline. Moreover, using ipairsAt() instead of inline will improve code readability. It does not just help developers write code, but also help beginners to understand what the code do when reading the code that use this function rather than inline code. ::: [[Module:LuaCall]] could be used to help write debugging code instantaneously in template. ::: --[[User:Ans|Ans]] ([[User talk:Ans|talk]]) 05:00, 7 March 2019 (UTC) *{{not done}} {{tq|Edit requests to fully protected pages should only be used for edits that are either uncontroversial or supported by consensus.}} As this has been objected to already consider you are already at stage 3 of [[WP:BRD]]. β [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 02:51, 8 March 2019 (UTC) :If after some period (ex. 7 days), no one has responsed or objected to my last reasons, does it be considered to be uncontroversial? --[[User:Ans|Ans]] ([[User talk:Ans|talk]]) 04:40, 12 March 2019 (UTC)
Summary:
Please note that all contributions to ANRC Universe may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
ANRC Universe:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Module talk:TableTools
(section)
Add topic