Hi DirectuX,
I can confirm, this seems like optimization side effect.
Petr
Hi,
I am rewriting some code considering what was said here
but,
can someone confirm that code ?:
I think the third call return an erroneous value.
This code's tbasic file : cparms-test.zipfunction test(optional param1 as string) msgbox 0,"There is " & Function_CParams & " parameter passed." & $crlf & "Param = " & param1 end Function call test() call test("foo") call test()
Last edited by DirectuX; 22-11-2018 at 00:09.
ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64
Hi DirectuX,
I can confirm, this seems like optimization side effect.
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thanks you Petr for answering.
Consequently I opened another issue here.
Please Petr, note that for all issues I opened, I can't specify the correct version, the drop-down selection doesn't propose latest versions.
ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64
Bookmarks