Jump to content




How to make a computer remember a variable?


  • You cannot reply to this topic
2 replies to this topic

#1 Computercraft Turtle

  • New Members
  • 1 posts

Posted 30 January 2013 - 09:00 AM

Hey guys,im trying to make a OS in CC, and i was wondering if there was a way to,instead of having to create a new user account everytime (a feature on my OS), make a computer "remember" a variable,so when i turn off the computer,it doesnt clear my name variable? Thanks guys!

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 30 January 2013 - 09:13 AM

Split to new topic.

#3 ChunLing

  • Members
  • 2,027 posts

Posted 30 January 2013 - 11:24 AM

Use the fs or io API to save/read a file.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users