Page 1 of 1

What if I distribute an exe without cleaning the console?

Posted: Sat Apr 17, 2021 12:03 am
by togFox
I'm just curious - I guess many ppl use PRINT() to send debug info to the console which is not visible when you distribute an EXE so just wondering if there is any real need to remove all the PRINT() statements prior to sharing an exe?

I make best efforts to do so, but there might be remnant statements in some obscure IF statement that gets missed.

Just curious.

Re: What if I distribute an exe without cleaning the console?

Posted: Sat Apr 17, 2021 8:11 am
by Davidobot
If you turn off the console popping up - there is no immediately obvious way to see the print statement. However, I believe that if they run your exe with a --console flag, it will cause the console to pop up.

Re: What if I distribute an exe without cleaning the console?

Posted: Sat Apr 17, 2021 8:25 am
by togFox
Oh. I see. So that can be activated by the user? Even if exe? I'll be sure to take out passwords (joke)

Re: What if I distribute an exe without cleaning the console?

Posted: Sat Apr 17, 2021 10:52 am
by pgimeno
It has potential to make the application slower. You can disable print() just in case:

Code: Select all

function print() end

Re: What if I distribute an exe without cleaning the console?

Posted: Sat Apr 17, 2021 3:02 pm
by togFox
Hmm. I just declare that and job fine. Thanks.