View Single Post
  #1   Spotlight this post!  
Unread 12-02-2003, 09:41
cammie825 cammie825 is offline
Registered User
#0825 (Maximum Velocity)
 
Join Date: Jan 2003
Location: Galax, VA
Posts: 8
cammie825 is an unknown quantity at this point
Send a message via ICQ to cammie825
And yet, ANOTHER questions

I know you guys are thrilled to hear another question for me. But, forgive me, I'm truly not very good at this. And at the crucial moments, I am able to think even less...

I have this compressor code. If anyone can find something wrong with my syntax, or something else, please let me know.

Thanks!

high_pressure VAR rc_sw2
compressor VAR relay3_fwd


pressure_check:
If high_pressure = 0 THEN compressor_go_on
If high_pressure = 1 THEN compressor_go_off

compressor_go_on:
compressor = 1
goto end_pump

compressor_go_off:
compressor = 0
goto end_pump

end_pump: