Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-28-2006, 12:46 PM
Tyrial Tyrial is offline
The Shiznic
Join Date: Dec 2001
Location: Sweden > Stockholm
Posts: 2,411
Tyrial is an unknown quantity at this point
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.
__________________
-Mher Avetian
  #2  
Old 05-28-2006, 12:50 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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.
__________________
Skyld
  #3  
Old 05-30-2006, 12:24 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:05 AM.


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