- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
- 0
error using string.sub(stringObject), "attempt to get length of a number value"
Asked by
Valentin Long
Asked by
Valentin Long
By using this site, you agree to our Terms of Use and Privacy Policy.
im trying to make a small custom Os. i managed to get the BIOS working and now im trying to load libraries to the lua enviroment (OpenOS does the same from my understanding)
i have a function that iterates over all the files on /lib/core and loads them. however im getting an error that i did not manage to solve. Here is the first part of the function:
clarification: as im working almost at bios level, i dont have access to some functions like print(). so i use error() to print a message in screen
i have been thinkering for some time now, however i didnt manage to solve the error. Thanks
Link to post
Share on other sites