CompuServe Messages

Contemplating the void

#: 13359 S9/ProgrammingForum unknown
    31-Mar-86 23:03:49
Fm: steve poling 70177,1434
To: Dave Haynie/C128 Land 76703,2047

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

you sure about that dave? i think that a function declared of type void does indeed return a function. the void is just a polite way of indicating to all involved that the function return value is meaningless. (sorry, make last word of 2nd sentence “value''.) i know with deficient compilers, its a good habit to typedef or #define void to int to ease the porting of proper lintable code to the deficient compiler. wish one of the lattice or manx authors could give us definative answer. sdp