in clock.lua for example, I tried to use getHour, from the utils table assigned by appConf(aap.lua)
Then it gave an error that there was no getHour in the utils table
So I removed getHour and did it using os.date anyway
Search found 22 matches
- Tue Dec 26, 2023 7:07 pm
- Forum: Support and Development
- Topic: 'sysUtil.appConf()' is not assigned to the 'app.utils' variable
- Replies: 2
- Views: 1722
- Tue Dec 26, 2023 2:34 pm
- Forum: Support and Development
- Topic: 'sysUtil.appConf()' is not assigned to the 'app.utils' variable
- Replies: 2
- Views: 1722
'sysUtil.appConf()' is not assigned to the 'app.utils' variable
Hi, and sorry by the English, I'm using Google translator I'm having an error, when I try to call the app.utils function, assigned to the lua file by 'aap.lua', it doesn't work. I don't know what it could be, because I didn't understand the error the error may be in front of me, but I won't be able ...
- Wed Sep 06, 2023 6:06 pm
- Forum: Support and Development
- Topic: How to get the bigger string of a table
- Replies: 2
- Views: 755
Re: How to get the bigger string of a table
So we will get this code: --just one modification function add.getLongestString(list) local length, longestStr = 0 for i, str in ipairs (list) do local len = #str if len > length then length = len longestStr = str end end return longestStr end That worked to me! Thank you :awesome: :ultrahappy:
- Tue Sep 05, 2023 5:50 pm
- Forum: Support and Development
- Topic: How to get the bigger string of a table
- Replies: 2
- Views: 755
How to get the bigger string of a table
Hello!
How to get the bigger string of a table
For example:
How to me get the most bigger string of that table with code?
How to get the bigger string of a table
For example:
Code: Select all
values = {'FirstString', 'SecondString', 'Third String', 'FourString', 'the bigger string of this table'}
- Tue Jun 27, 2023 8:09 pm
- Forum: Support and Development
- Topic: Timer
- Replies: 2
- Views: 659
Re: Timer
Use it is simple: timer = require 'timer' show = true n = timer.newTimer(timer.countdown, 10, function() show = false end) -- type, time, callback --type for countdown is "1" or timer.countdown and countup is timer.countup or "2" (countup haven't an callback, use getTime() to do ...
- Tue Jun 27, 2023 7:20 pm
- Forum: Support and Development
- Topic: Timer
- Replies: 2
- Views: 659
Timer
Hi there!
I created an timer Library
Any error tell me here
I created an timer Library
Any error tell me here
- Wed Jun 14, 2023 8:13 pm
- Forum: Libraries and Tools
- Topic: [Beta] HugoBDesigner File Manager [v0.5]
- Replies: 24
- Views: 19152
Re: [Beta] HugoBDesigner File Manager [v0.5]
That are like with an operating system
- Tue Jun 13, 2023 10:05 pm
- Forum: Support and Development
- Topic: File manager with a slab window
- Replies: 5
- Views: 2938
Re: File manager with a slab window
A UI that when pressed reload the folder or open the file
- Mon Jun 12, 2023 2:47 pm
- Forum: Support and Development
- Topic: File manager with a slab window
- Replies: 5
- Views: 2938
Re: File manager with a slab window
At love data folder in a folder called ACCESS
- Sun Jun 11, 2023 5:50 pm
- Forum: Support and Development
- Topic: File manager with a slab window
- Replies: 5
- Views: 2938
File manager with a slab window
Hi I'm trying to get to do a file explorer in love2d inside a slab window in a specific folder
Can someone help me?
-OBEY
Can someone help me?
-OBEY