cs132046@brunix (Garrett Fitzgerald) (05/06/89)
I just came up with an interesting situation. Earlier, I initialized the class so that Relation (*rel)[x]=NULL. In a later procedure, I wrote: while (!strcmp(rel[i]->inq_name(),rel_name)) I realized that I would be calling the function from a NULL pointer sometimes, and it seemed that would cause it to crash. Rather than try it, I decided to ask here: a) It won't work, right? b) Should it? (returns (type)0, or some such...) Thanks. -------------------------------- Campus Crusade for Cthulhu--when you're tired of the lesser of two evils. Sarek of Vulcan, a.k.a. Garrett Fitzgerald cs132046@brunix or st902620@brownvm.bitnet