Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #12135
| From | "Mayayana" <mayayana@invalid.nospam> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: Overload a system function like FormatDateTime with a user-defined one ? |
| Date | 2019-05-10 08:41 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <qb3rme$5et$1@dont-email.me> (permalink) |
| References | <qb0khc$1onn$1@gioia.aioe.org> <qb0rc7$l70$1@dont-email.me> <qb0spu$v8s$1@gioia.aioe.org> <qb1rp7$438$1@dont-email.me> <qb38eh$1i4i$1@gioia.aioe.org> |
"R.Wieser" <address@not.available> wrote | So ? Any other methods available to create the same effect (even just to | see if its possible) ? | VB has optional parameters, but not VBS. Personally I think it's a very dumb idea, lending itself to errors. So I've never actually used an optional parameter. But that's just my preference. I have used multi-purpose functions. For instance: ProcessThisText(sTheText, TheTarget) Where TheTarget would probably be a numeric value. For instance, if I needed to same function to prepare text strings for multiple text windows, TheTarget could be used to specify which window it goes to. I'm curious what you want to do. It's hard for me to imagine a necessary purpose for such tricky ambiguity in function design.
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar
Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-09 09:23 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-09 05:20 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-09 11:44 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-09 14:33 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-10 09:15 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Mayayana" <mayayana@invalid.nospam> - 2019-05-10 08:41 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-10 18:11 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-10 13:13 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-10 20:57 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-10 15:23 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-11 09:39 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-11 11:31 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Mayayana" <mayayana@invalid.nospam> - 2019-05-11 06:59 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "Mayayana" <mayayana@invalid.nospam> - 2019-05-10 13:21 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-10 14:06 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-10 20:52 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Mayayana" <mayayana@invalid.nospam> - 2019-05-10 15:45 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-10 15:53 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-11 09:59 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-11 11:31 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-11 14:47 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-11 14:56 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-11 22:19 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-12 09:24 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Mayayana" <mayayana@invalid.nospam> - 2019-05-11 16:36 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-11 17:55 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-11 11:12 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "Mayayana" <mayayana@invalid.nospam> - 2019-05-11 07:49 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-11 15:12 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? "R.Wieser" <address@not.available> - 2019-05-10 20:46 +0200
Re: Overload a system function like FormatDateTime with a user-defined one ? GS <gs@v.invalid> - 2019-05-10 13:28 -0400
Re: Overload a system function like FormatDateTime with a user-defined one ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-09 11:39 +0200
csiph-web