Page 1 of 1

WLOG and WLOG.OPTION 0

Posted: Mon Aug 23, 2021 12:51 pm
by PeterN
WLOG is a fine tool that can be customized by OPTION.WLOG .
I use it as a useful substitude for PRINT, and do not need a serial connection to the module then.
I hopefully expected option.wlog 0 to suppress the network output only - and not to deactivate the whole command line, just like making it a comment line.

E.g. a wlog telegram.sendmessage$(1234567890, "Hello, world! " + str$(rnd(1000))) will not do anything, if option.wlog 0 is set

Could that be changed to give an advantage?
Or do I misinterpret or oversee an advantage of the current behavior?