Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

AngelScript 1.6.1 beta 4 has been released


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
2 replies to this topic

#1 Andreas Jonsson   Moderators   -  Reputation: 3309

Like
Likes
Like

Posted 09 March 2004 - 06:20 AM

I''ve just released the 1.6.1 beta 4. This new versions brings the support for operator overloading, partly at least. The operators that can be overloaded are all the binary operators, except compound assignments. The unary operators and the compound assignments will be supported in the next versions to come soon. I''m a bit pressed on time right now and I don''t know how much you all know about AngelScript already, so instead of me trying to explain what''s new to someone that has never heard of AngelScript before I''ll just open this thread for questions. So, any questions you have, about new or old features, just fire away. www.AngelCode.com

Sponsor:

#2 EddHead   Members   -  Reputation: 140

Like
Likes
Like

Posted 09 March 2004 - 06:40 PM

I saw in your mailing list that single line console command mode on your TO-DO list. I used a cheap trick to do that. each time a console command is executed, I dump it in a function and recompile/execute.

void console()
{
------line here--------
}

:D

Jayanth.K
Raptor Entertainment Pvt. Ltd.

#3 Andreas Jonsson   Moderators   -  Reputation: 3309

Like
Likes
Like

Posted 10 March 2004 - 01:35 AM

Yes, that is what I currently recommend. Others do the same thing already. But it is not very efficient, and hopefully the scripting engine will soon have native support for one-liners

It would basically do what you''re doing now, put the line in a script function, compile it (without removing the old code) and then run the function. All before returning from the method call. I''m just thinking about how I should do about any return value.

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




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