Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Code Gallery (https://forums.graalonline.com/forums/forumdisplay.php?f=179)
-   -   Script: Shop system (https://forums.graalonline.com/forums/showthread.php?t=68274)

coreys 11-13-2009 03:10 AM

Just a note, if you're using the - character in a variable name, it will only work in instances like this:
PHP Code:

this.(@"foo-bar") = "baz"

not this:
PHP Code:

this.foo-bar "baz"

- and other reserved characters are not valid in variable names, but GS2 will compensate for this when using (@"variable-name").


All times are GMT +2. The time now is 10:24 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.