Exit command

Avatar
  • updated
  • Under review

Hi everyone,

i was wondering when closing a programm in bOS server if exit command should be used. It works in both cases (with and without exit).

As it starts with a default Start command, an exit command at the end will free the allocated memory or is it not necessary?

Best regards,


Charis Meidanis

Avatar
ComfortClick Support
  • Under review

Hello,

Exit command is largely used when we have certain countdown or a continuous change of a value and once a value reaches a certain number, exit command is used to stop the program and stop counting down the number. This can be useful if we don't want our value to reach a certain number and cause any other triggers that may be set in the other tasks.

Best regards,

Avatar
xarmeid

Thank you for the reply!

Best regards