Module:Sandbox/Johnuniq/testpre
Appearance
From Wikipedia, the free encyclopedia
You might want to create a documentation page for this Scribunto module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
-- How many dates can Scribunto fit in the allowed 50 MB of memory? localDate=require('Module:Date')._Date localfunctionmain(frame) localcount=tonumber(frame.args[1])or31000 localjd=2451545 localdates={} fori=1,countdo dates[i]=Date('juliandate',jd) jd=jd+1 end return'Number of dates = '..count end return{main=main}