Hello Viktor
Viktor Szakáts wrote: > > In all cases I've checked where HB_ISNIL() is used, > it is going to read a POINTER from the parameter, so > AFAICS all you have to do is to reverse the iif() results > and replace HB_ISNIL() with HB_ISPOINTER() (in the > generator). > > Or, if it can be other than POINTER, you'll have to add > new CASE branches in the generator. > > HB_ISNIL() is only needed if you specifically want to > check if a NIL has been passed, it's never useful where > you expect any known types which you'll try to read > in the next step with one typed hb_par*() call. > I understand your view point but as said before I cannot make a jusgement whether it is a pointer or any other type. In the final output source it is possible to review what it could be. This deals with the default parameters and I see no harm against this checking. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-11263--trunk-harbour-tp23916437p23918231.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
