PDA

View Full Version : Stefan, why?


Tyrial
05-28-2006, 01:46 PM
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, 01:50 PM
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, 01: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.