Jump to content
Mr. Bodo Hasubek

FIntegerSeries as Argument to a feature?

Recommended Posts

Hi all,

 

I kind of hate to post such stupid questions, but I am trying to use an FIntegerSeries as an argument to a feature since that can by nicely abused as a typed array, but I couldn't find it in the type list of the arguments tab.

 

Am I just to blind (there are many types and I tried to look carefully through all of them with no success)?

Or is there a reason why this basic type is missing?

Or is it just missing by accident?

 

Thank you for your help.

 

Regards,

Bodo

Share this post


Link to post
Share on other sites

Hi Bodo,

 

Apologies, but yes this is missing by accident and has already been identified. It will be included in the next release (along with doubleseries, unsignedseries and vector3series) as well as a more convenient way to fill those serieses in feature code by using the same syntax as for objectlists. Currently in order to create an integerseries inside the feature you'd have to write:

fintegerseries myseries(integerseries(1,2,3,4,5))

with the next release you can write

integerseries myseries([1,2,3,4,5])

So until the next release you will have to resort to using objectlists as arguments.

 

Regards,

Arne

Share this post


Link to post
Share on other sites

Hi Arne,

 

thank you for the quick response. Never mind I'll just use a double series an do some typecasting for the time being.

 

And you know, this stupid question I posed  is all you fault ;-), because I studied your very nice booklet "Effective Feature Programming" in depth to write better features... Thanks again for that booklet, I really love it.

 

Regards,

Bodo

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...