Wikimedia

Lua Task 3 - Calculations and tests

Before you start on this task, you should have completed "Lua Task 2 - Working with modules".

This task requires some independent learning and is more difficult.

In a Lua function, we can do the usual programming jobs, such as calculations, text processing, testing and repeating blocks of code. You'll need to read the Lua Reference Manual https://www.lua.org/manual/5.3/manual.html if you are uncertain about anything.

Read through and then carry out the instructions at: https://en.wikipedia.org/wiki/User:RexxS/GCI-Task03

You should have added code to your module sandbox and and text to your user sandbox.

Please make sure that you save the page every time you are instructed to.

When you have finished to your satisfaction, please leave a comment here when you submit your work, and give the urls of your module sandbox and your user sandbox, something like:

https://en.wikipedia.org/wiki/Module:Sandbox/RexxS

https://en.wikipedia.org/wiki/User:RexxS/sandbox

Task tags

  • lua
  • scribunto
  • calculations
  • branching

Students who completed this task

jaimeiji, Sarai, m.young.20, Priyanshu001, Cyborg Coder, smsingh, How222, Deimos, artbarte, tkp, mogmog123, wwdjbox, StoppedGalaxy, ppolca, Filip Korthals, mdu, boboquack, dxa_kly, Jari Van Melckebeke, lux, stibba, Shreeniket, Shreyas Minocha, takidelfin, Ttonyxx, Robin Gan, Jan Rosa, Vemu, safan41, MrSpecjal, arcaynia, Nathan, Anirudh Prabhakaran, Hdinh77, PinkBlob, gnsJhenJie, Denis1245, angr_pukhlya, Xiaowan, Chan, Shah Jahan, stella, OHM OMAR, cheddarooz

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
close

2018