On 27 Feb 2005, at 23:47, realbasic-nug-request at lists dot realsoftware dot com
wrote:
Subject:
From: Ronald Vogelaar <enter at rovosoft dot com>
Date: Sun, 27 Feb 2005 19:53:46 +0100
Okay, I just found out. The solution was to create two methods:
GetLang(lang as string) as string
GetLang() as string
And just call GetLang either with or without parameter. The right
method
is executed automagically.
I'm sure many of you knew that already, but I'm still discovering new
tricks every day ;-)
That's one way. Also look at optional params.
getlang(lang as string="en") as string
--
Theodore H. Smith - www.elfdata.com/plugin/ - www.elfdata.com/forum/
ElfData: Industrial strength string processing, made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|