Hi
sygecom wrote: > > First of sorry for the post, but I'm moving to Harbour, I'm full of > questions to resolve. > Below is another example that compiling and running without problems in > xHarbour, but when you try to run with harbor it generates an error on the > line 'if asc (cCaractere) == chr (13)' > Everybody is welcome. Group will be more than glad to respond you. asc( cCharacter ) == chr( 13 ) Does not it looks weired. How you can compare NUMERIC with CHARCATER? You could have compared it as : cCharacter == chr( 13 ). Did you check it with Clipper ? NOTE: In xHarbour ONE character string is treated as a number so you were able to compare as above. I know that in C it works like it is implemented in xHarbour but we are accustomed to the language CLIPPER. Now I know that in one of projects under my supervision blow up randomely and error log always report that comparison operands are not of same type. Hope you may be clear now. BTW there is some compiler switch in Harbour which mimmics this behaviour. correct and complete me if right ... Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/Error-in-function-to-create-the-Word-file-tp23046678p23047016.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
