Liste des Groupes | Revenir à cl tcl |
On 9/9/24 11:59, aotto1968 wrote:→ ok, let make is very very simple.
example: if you lookup "otto" in a database than you get a "non existing NULL" back it "otto" does not existsInteresting, you're now talking about a result set, which could be
TCL has *no** default "NULL" type to indicate this issue, TCL can give an empty string back like "" **but**
if the "empty string" is the real value for "otto" in the database THAN you can NOT distinguish the both cases
1) "otto" does NOT exists
2) "otto" exists BUT has the value ""
expressed as a Tcl list. An empty result set is an empty list, then.
In your lookup example a non-empty result has exactly one list element.
So where's your point?
Les messages affichés proviennent d'usenet.