Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

smaller issues


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 nebukadnezzar   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 April 2004 - 05:07 PM

1.I experienced that when a functions ends on "};" instead od "}" you get an unexpected token msg 2.as doesn''t support unsigned short right?? 3.The token which is unexpected could be displayed in the errmsg too??

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3225

Like
Likes
Like

Posted 02 April 2004 - 01:13 AM

1. Yes, you would get an unexpected token. The alone ';' token will not be part of the function and will form its own statement, an empty statement. In the global scope AngelScript doesn't recognize empty statements as it doesn't make sense anyway. Only declarations are allowed in the global scope.

2. AS supports unsigned short using uint16, or bits16 if you want to use it as a bitvector.

3. It can, I've just been lazy and not implemented it. I'll include it in the next version.

__________________________________________________________
www.AngelCode.com - game development and more...
AngelScript - free scripting library

[edited by - WitchLord on April 2, 2004 8:15:41 AM]




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS