[Gambas-user] User Digest, Vol 36, Issue 1
T Lee Davidson
t.lee.davidson at gmail.com
Tue Sep 1 18:12:25 CEST 2020
On 9/1/20 5:18 AM, John Rose wrote:
> I've actually changed all my global variables to start with a $ sign e.g. $asEpisode for an array of strings. Obviously this
> means that there is no confusion between global & local variables, as well as not having to append 'local' to a local name which
> has the same name as a global variable. It still allows me to use procedures as 'effectively' functions (using the Return command).
That sounds like a better solution than what I suggested. Good thinking.
--
Lee
More information about the User
mailing list