|
|
Gerald W. Lester wrote:
On the other hand, as we have eq and ne to compare strings, shouldn't
we have a lt, le, gt, ge for explicit string comparison and leaving <,
<=, >, >= specifically for integer comparison?
No, because that would break an *awful* lot of existing scripts.
Actually, as long as [string compare] remains, 'lt', 'le', 'gt', 'ge'
can be implemented without any script breakage at all. And I've been
contemplating proposing exactly that. But I've been holding off
because dgp appears to be planning major surgery on the expression
parser, and the change will be easier to work in once he's done.
--
73 de ke9tv/2, Kevin
|
|