From 1368a4a2cfb2b3e0c1ba906754273bbef9301e73 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 12 Mar 2024 13:30:50 -0500 Subject: [PATCH] transmit functions between files --- cope.lua | 9 +++++++-- main.lua | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 main.lua diff --git a/cope.lua b/cope.lua index c8c4277..411dea5 100644 --- a/cope.lua +++ b/cope.lua @@ -1,2 +1,7 @@ -local frustration = "high" -local n = nil +cope = {} + +function cope.level() + print('Coping level = High') +end + +return cope diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..c1aed0a --- /dev/null +++ b/main.lua @@ -0,0 +1,2 @@ +local cope = require('cope') +cope.level()