Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Stefan, why? (https://forums.graalonline.com/forums/showthread.php?t=66289)

Tyrial 05-28-2006 12:46 PM

Stefan, why?
 
Stefan why don't you make the new GScript alike other languages, I mean like.. instead of @ when you combine text with strings, why not +?

I know it's just a letter, but ie. java experienced people will have it easier to code..

This is not only about the @ but alot of stuff like that.

Skyld 05-28-2006 12:50 PM

Quote:

Originally Posted by Tyrial
Stefan why don't you make the new GScript alike other languages, I mean like.. instead of @ when you combine text with strings, why not +?

I know it's just a letter, but ie. java experienced people will have it easier to code..

This is not only about the @ but alot of stuff like that.

Gscript is based from TorqueScript. Graal is written in Torque.

I found it difficult to go from PHP where a . is used to concationate, but I survived it.

This thread has no real purpose.

Admins 05-30-2006 12:24 AM

To clarify: Graal doesn't use any Torque script code. A variant variable type requires different operators for string concationation and arithmetical addition, otherwise you couldn't be sure that you really get what you want - the meaning of "a + b" would change depending on what values a and b have, which is bad coding.


All times are GMT +2. The time now is 09:54 PM.

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