WLOG and WLOG.OPTION 0

Give it a try, it costs you nothing !
Post Reply
User avatar
PeterN
Posts: 366
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 171 times
Been thanked: 203 times
Contact:

WLOG and WLOG.OPTION 0

Post 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?
Post Reply