From a13e120fd5dfe8104dcb8ab65b99baebbcb65790 Mon Sep 17 00:00:00 2001 From: ketank-new Date: Mon, 2 Jan 2017 17:13:05 +0530 Subject: [PATCH] Added definition to function 'twice()' --- test/test.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test.lua b/test/test.lua index 3dab7152..05334c9f 100644 --- a/test/test.lua +++ b/test/test.lua @@ -119,6 +119,9 @@ print("********************************************") print("**********Functions*****************") print("function twice(x) return 2*x end") +function twice(x) +return 2*x +end b=twice(3) print(b)