[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with gb.logging Logger, cannot _free
[Thread Prev] | [Thread Next]
- Subject: Re: Issues with gb.logging Logger, cannot _free
- From: T Lee Davidson <t.lee.davidson@xxxxxxxxx>
- Date: Thu, 11 Apr 2024 17:11:13 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 4/11/24 16:46, Neil Darlow wrote:
Hi, Is this the actual code you are running? The "Try Logger.Begin" statement is missing parenthesis. I would expect a compiler error to be emitted there. Regards, Neil Darlow
Parentheses are unnecessary when calling a method that returns nothing. If called on a function that does return a value and the parentheses are omitted, the receiver gets the handle of the method instead of the returned value.
-- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Issues with gb.logging Logger, cannot _free | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: Issues with gb.logging Logger, cannot _free | Neil Darlow <neil@xxxxxxxxxxxx> |