HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RE: [hylafax-devel] Re: atz



> (2) status1=atCmd(conf.softResetCmd, AT_OK, conf.resetDelay)
> (3) status2=atCmd(resetCmd, AT_OK, conf.resetDelay)
> (4) return(status1 && status2)

>     can you predict the order of execution for the bot atCmd()s?

Both commands will be executed unconditionally; if they had been
put in parentheses in place of status1 and status 2 in the return
statement, they would be executed until the first failure.

In either case, they would be executed in order.




Project hosted by iFAX Solutions