Jump to content
Sign in to follow this  
Rollo62

E2015 Operator Not applicable to this operand type

Recommended Posts

Interesting coincidence, that Jeroen came up with the same solution I was working on a few days ago.

I used that same approach in a similar situation, but extended that by the use of  local double fields, as shadow variables, that were set only once during creation. 

That way I should get some higher performance when using (calculate) it many times, not needing Rtti conversion  all the time, on cost of a little more memory space.

Maybe thats useful to add in certain situations. 

 

Edited by Rollo62

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×