Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Declare text and numeric types for char arrays #30

Open
jmw182 opened this issue Feb 25, 2022 · 0 comments
Open

Declare text and numeric types for char arrays #30

jmw182 opened this issue Feb 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jmw182
Copy link
Member

jmw182 commented Feb 25, 2022

char arrays have always been ambiguous since they may contain either numerical values or strings. Currently these are always read as numerical values, and the clients are responsible for recasting to a string.

It would be great to declare the intended high-level type of ambiguous low-level types such as char arrays. This could be part of the info contained in an "extended header" along with other new features. Then the client could automatically cast char arrays containing text to a string type (similar to casting numeric arrays to numpy arrays #29).

@jmw182 jmw182 added the enhancement New feature or request label Feb 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant