fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: strong typed arrays in VO dialect

strong typed arrays in VO dialect 4 months 2 weeks ago #1

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
  • Posts: 1436
  • Karma: 6
Hello,

currently I'm working mostly in VO dialect, and I don't think this will change the next years.

But when working with legacy code, it would be very welcome to use strong typed arrays. Is there any possibility to make them available, even as different datatype, in the VO dialect?

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 4 months 2 weeks ago #2

Wolfgang,
What exactly do you mean with "Strong typed arrays".

I think we already support them.
For example

local aString as STRING[]


Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Last edit: by robert.

strong typed arrays in VO dialect 4 months 2 weeks ago #3

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
  • Posts: 1436
  • Karma: 6
Hi Robert,

no, I mean this form:
local aData as array of int

In the Core dialect it compiles, in the VO dialect the compiler says
error XS9007: Feature 'ARRAY OF <type>' is not available in the selected dialect VO

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 4 months 2 weeks ago #4

Wolfgang,

Mmmm, strange. Does it work in the Vulcan dialect ?

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 4 months 2 weeks ago #5

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
  • Posts: 1436
  • Karma: 6
Hi Robert,

similar message:
error XS9007: Feature 'ARRAY OF <type>' is not available in the selected dialect Vulcan

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 4 months 2 weeks ago #6

Wolfgang

I guess you are using the Vulcan runtime.
In that case the error message us misleading.
This needs the X# runtime.
If you are using the x# runtime then this is a bug.

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 4 months 2 weeks ago #7

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
  • Posts: 1436
  • Karma: 6
Hi Robert,

stupid me!

Of course, your guessing was right.

I'm very sorry!

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

  • Page:
  • 1