computercraft menu issue

El_Diablo256

New Member
Jul 29, 2019
28
0
0
i have made a menu. with the lead of
it isn't completely finished, what i have to add it only what the different options do,
but when i try to run it it says: Menu:3: attempt to call nil

all of the code(as far as i am): http://pastebin.com/ySKwdsWU
already thank for looking at this
 

VikeStep

New Member
Jul 29, 2019
1,117
0
0
I think that this:
Code:
local termWith, termHeight = termSize()
(Line 3)
should be changed to:
Code:
local termWith, termHeight = term.getSize()

also there is a typo on line 113
 

El_Diablo256

New Member
Jul 29, 2019
28
0
0
I think that this:
Code:
local termWith, termHeight = termSize()
(Line 3)
should be changed to:
Code:
local termWith, termHeight = term.getSize()

also there is a typo on line 113

ty, now it works :)
i think that was a change from CraftOS 1.4 to CraftOS 1.5