I use them so that the reader of the code knows for certain sure that I did intend to change from one precision to another, with possible loss of information. Also, I like to compile with all messages enabled and still get no warnings. I do a fair amount of "unnecessary" coding to get an RC of 0, rather than 4. I'm a bit OCD about that. I compile open source software on Linux some times and just cringe at all the warnings that are produced.
On Mon, Jul 22, 2013 at 8:23 AM, retired-mainfra...@q.com < retired-mainfra...@q.com> wrote: > Since the evaluated expression is automatically converted to the type of > the left operand aspart of the assignment process, what purpose does the > cast serve? > > -- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN