[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50855] new Matlab string array syntax
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #50855] new Matlab string array syntax |
Date: |
Fri, 11 Jan 2019 15:12:18 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Follow-up Comment #5, bug #50855 (project octave):
Andrew - by "lexical casting" I meant conversion between numeric and string
types that interprets the numeric value that the string represents, rather
than the byte values of the characters.
Most interpreted languages use lexical casting for converting between strings
and numerics. If you're familiar with Python, then using 'int' and 'str' to
convert between the two is lexical casting, while using 'chr' and 'ord'
imitates a C-style byte-oriented casting.
I was only pointing out that the string type has different rules for
conversion between string and double than the char type that we support in
Octave now, so it will need a completely new class definition and type support
to differentiate it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50855>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/