Jump to content




_G help


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

#1 YaYaBinks3

  • Members
  • 6 posts

Posted 26 July 2012 - 08:57 AM

Help!
I did a little research on _G with CC.
I've used rawset, to make a global variable.
I have a script running on a monitor that prints a g value.
I get this:

bios:48: bad argument: string expected, got nil

Why? Rawset has something wrong?

#2 brett122798

  • Members
  • 300 posts
  • LocationIn the TARDIS at an unknown place in time.

Posted 26 July 2012 - 09:16 AM

Hey, you were on my CC Server months ago.

#3 YaYaBinks3

  • Members
  • 6 posts

Posted 26 July 2012 - 09:30 AM

Oh yeah! Have you restarted that?

#4 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland OR

Posted 26 July 2012 - 09:33 AM

Probably need the code to be able to help any..

#5 brett122798

  • Members
  • 300 posts
  • LocationIn the TARDIS at an unknown place in time.

Posted 26 July 2012 - 07:18 PM

View PostYaYaBinks3, on 26 July 2012 - 09:30 AM, said:

Oh yeah! Have you restarted that?
Eh, I don't run the ComputerCraft Server any longer, but I'm getting back into the mod and I'm making my own OS.

#6 YaYaBinks3

  • Members
  • 6 posts

Posted 27 July 2012 - 08:54 AM

Aw. Ok.

#7 sjele

  • Members
  • 334 posts
  • LocationSomewhere on the planet called earth

Posted 27 July 2012 - 09:21 AM

I think you might need to add ("string in here"),
This might be 200% wrong since we got no code but adding " might fix it.

--If code is like this before you add stuff
print(showtxtonscreen)

this might fix the error

print("textonscreen")






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users