Author Topic: can i use the word global?  (Read 597 times)

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
can i use the word global?
« on: 25. October 2013, 00:13:03 »
hi everyone, is it normal every time i want to use the word 'global' i get a syntax error?

Cosmo

  • Guest
Re: can i use the word global?
« Reply #1 on: 25. October 2013, 09:51:46 »
Yes, use local

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: can i use the word global?
« Reply #2 on: 25. October 2013, 10:53:34 »
"Global" does not exist in Lua:
http://www.lua.org/pil/1.2.html
Best regards,
Cybermonkey

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: can i use the word global?
« Reply #3 on: 25. October 2013, 19:37:32 »
oops  :o , thanks ;D