On Sat, 06 Mar 2010, Budyanto Dj. wrote: Hi,
> If you read it carefully on the link you posted: > http://groups.google.com/group/comp.lang.xharbour/browse_thread/thread/98c34c87431b30e4 > there is only one person who has misunderstanding. And the very > person has already realized his mistake and apologized for the > confusion he has made. The most funny thing in the discussion about this feature (using one character length strings as number) is the information that it's the same as in C. It is completly flase information. In C "a" is always string and only string. It never become ASC("a"). But C has few forms of writing numbers. One of this form is using characters quoted by '' what means number equal to corresponding ASCII value. This can be positive or negative number depending on character ASCII value and C compiler setting/configuration/dialect/platform. But it's always only number and it was never a string. Just like ASC("a") is also number in Clipper and [x]Harbour. If somoene calls it C like extenssion the he only shows that he has no idea even basic C features. '<char>' is not a string in C but from the begining and by definition is a number. If he wants to replicate such C syntax functionality in xHarbour then he should use some different quotation character because in Clipper '' is reserved for strings. This is nothing more then only local xHarbour extension without any relation to C other then visual similarity in source code for somoene who does not know C. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour