CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2009
    Posts
    3

    Need help to understand this statement

    Hi All,

    First of all sorry to abuse this forum with a unix question. I could not think of any better section than this one.

    I need to understand what the condition in the below statement is checking for

    IF mtime>1 THEN
    ...
    ENDIF

    The context here is that the above condition is being checked against a process point which collects real-time plant process data in every 10 sec interval.

    Thanks.

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Need help to understand this statement

    It's checking if mtime variable has value greater then 1 or not, if yes then it enters the code written on second line, if not, nothing.
    Regards,
    Ramkrishna Pawar

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Need help to understand this statement

    You couldn't think of a better forum than this one??? That's not even C++, let alone Visual C++.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured