Welcome, Guest. Please login or register.

Author Topic: Probably very basic C question...  (Read 2107 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Jupp3

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 364
    • Show all replies
    • http://jupp3.amigafin.org
Re: Probably very basic C question...
« on: May 25, 2004, 11:35:53 PM »
And while coding C, why not write it like this instead?

if(!(LibBase = OpenLibrary("library.name",version))
{ ...
:-D

That's one thing I never really understood in C coding... WHY it seems to be so important to fit all possible commands to a single line? When compiled to assembler, it likely won't result in ANY less commands...

But if you write commands on separate lines, you can be more sure, that they're actually executed in right order...