Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Search the Community

Showing results for tags 'require'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Fediverse ID


Location


Interests

Found 5 results

  1. I am attempting to write an OS from scratch and I have come up with a couple questions that somebody can hopefully clarify for me as I cannot continue without the following knowledge. 1).Since a critical function like require is unavailable, can someone point me to general steps needed to write a custom require function. 2).What would be needed to implement a custom filesystem without any libraries from openos. Any help is greatly appreciated
  2. I've been working on robots that don't have interfaces - and instead commune by wireless means. Part of programming these robots has involved writing on an EEPROM My problem lies with getting certain APIs. I've previously encountered things such as modem = component.proxy(component.list("modem")()) to get to an API, but FileSystem doesn't work this way. The program here (ran on a computer) wouldn't work as I put fs = require("component").filesystem Where I should have put fs = require("filesystem") If I make this change, the program works. But if I comment out the require statements, uncomment the proxy statements, write to an EEPROM and then insert into a robot, it doesn't work over there. So what's the BIOS way to get the filesystem API? (If you're wondering, the program is a recursive function designed to inform other devices of what's on the robot's filesystem)
  3. Is there any posibilities to run program inside OpenOS listening events on background and still using shell? I try to write program that can recieve message from another computer through network and send response back on background. Thanks for your idea and sorry for my English. ;-)
  4. So, my problem occurs when trying to use this api, converted from CC: http://pastebin.com/qwt98zmj Original: http://pastebin.com/XZS4eF9Z Basically, all I am doing is: cselected = jenisis.drawScreen(static, menu) And I did this at the top (yes, before the function, and also the tables were declared as well): jenisis = require("jenisis") It's located inside the lib folder, and it's not about not finding/loading the API, because I already sorted that out. It's returning a rather unique error for an API: /jentest:17: attempt to index global 'jenisis' (a boolean value) stack traceback: /jentest:17: in main chunk (...tail calls...) Full 'test' program here: http://pastebin.com/ZfNvZ6Xk
  5. Hello Community, I want to program my own OS for OC and have a problem: I don't know, how exactly the boot works. I tried to use component.anything() and it didn't worked, because the variable component doesn't exists. I can't use require('component') too. Any ideas to solve this problem? Luca
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.