noobv11
|
  |
| Joined: 01 Jul 2011 |
| Total Posts: 109 |
|
|
| 06 Aug 2011 06:16 PM |
| When you put a $ at a begging if a line, what does it mean? it changes color |
|
|
| Report Abuse |
|
|
PsychoBob
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 11047 |
|
|
| 06 Aug 2011 06:56 PM |
| That's weird, because $ looks like an operator, and $ isn't an operator for anything. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 06 Aug 2011 07:01 PM |
| It has no meaning in lua except for string manipulation ( unless I'm very sadly mistaken ) most likely it has something to do with corescripts. |
|
|
| Report Abuse |
|
|
zazw3
|
  |
| Joined: 05 Jul 2008 |
| Total Posts: 1238 |
|
|
| 06 Aug 2011 07:12 PM |
| Im curious now...Scouring the Lua website and rest of internet for an answer... |
|
|
| Report Abuse |
|
|
Exobyte
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 386 |
|
|
| 06 Aug 2011 07:16 PM |
| It's a glitch. It can be used for commenting if you want, but it doesn't have any real use. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
| |
|
zazw3
|
  |
| Joined: 05 Jul 2008 |
| Total Posts: 1238 |
|
|
| 06 Aug 2011 07:24 PM |
| Cant be used for commenting....Brings up an error...For some strange reason i wast to say something to do with constants but i hav eno idea where thats coming from. I also know in php u use $_POST or $_GET (assuming these are similar which they could be as there are similarities between most languages ie != is not equal to (unlike the RBX.lua ~=)) It could have something to so with inter script communication? thats a bit of a wild guess but what else have we got? ima gonna keep looking...I probable thing that beecaise of the _G in lua buut anywauz.. |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2011 07:36 PM |
| One of the "good scripters" like Animus or someone said it is used to execute certain functions. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 06 Aug 2011 07:37 PM |
@bunny
like I said, corescripts. |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2011 07:47 PM |
are you mixing up php with lua? $_GET and $_POST are dynamic variables in php, not lua |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
| |
|
|
| 06 Aug 2011 08:03 PM |
| Well I'm basing this off of Java, but I think it's just for declaring a variable. |
|
|
| Report Abuse |
|
|
noobv11
|
  |
| Joined: 01 Jul 2011 |
| Total Posts: 109 |
|
| |
|
zazw3
|
  |
| Joined: 05 Jul 2008 |
| Total Posts: 1238 |
|
|
| 09 Aug 2011 09:57 AM |
Soryto disturb the dead but
NO IM NOT MIXING LUA UP WITH PHP IF YOUD READ MY POST IYOU WOULD SEE I SAID LIKE IN PHP.... |
|
|
| Report Abuse |
|
|