Hotmilo Posted November 4, 2009 Report Share Posted November 4, 2009 Hi Pete, sorry need to trouble u again. Want to know in pmlogics, does if condition always end with a endif.? Thanks for help. Regards, Hotmilo Link to comment Share on other sites More sharing options...
Pete Dowson Posted November 4, 2009 Report Share Posted November 4, 2009 Want to know in pmlogics, doesifcondition always end with a endif.? I don't write or support PM, you are in the wrong place I'm afraid. Are you talking about pmSystems? If so, why not look at the examples it comes with? I think there's documentation available too. Regards Pete Link to comment Share on other sites More sharing options...
Hotmilo Posted November 5, 2009 Author Report Share Posted November 5, 2009 Yes Pete, was refering to the PM systems my bad, sorry. Currently, looking for the documentations. Thanks & Regards, Hotmilo Link to comment Share on other sites More sharing options...
Pete Dowson Posted November 5, 2009 Report Share Posted November 5, 2009 Yes Pete, was refering to the PM systems my bad, sorry. Currently, looking for the documentations. Well, looking just at the LGC files supplied in the pmSystems package I see two ways of doing "if" statements. Examples: if mastercautionswitch then sixpackcaution = 0 mastercautionswitch = 0 [1] endif or if busselect1 = 4 then acvolt = 115 So, if it is all on one line, no endif. Otherwise end the sequence of resulting actions with endif. Regards Pete Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now