Re: Help s primitivnim vbs

From: snuffer (snuffer@seznam.cz)
Date: 19. 07. 2003, 16:33 CEST


> Ano, je. Hodne jednoduse takhle:
> ----------
> Call MsgBox(WScript.Arguments(0), 64, "")
> ----------

Diky, diky. To je presne ono. :) To uplne postaci, protoze tam ten parametr
bude vzdycky.

> Trochu sloziteji, ale malinko elegantneji pak takhle:
> ----------
> If WScript.Arguments.Count > 0 Then
>   Arg = WScript.Arguments(0)
> Else
>   Arg = "nejakej help text, ze chces argument"
> End If
> Call MsgBox(Arg, 64, "")
> ----------
> Uzij si to ;o)) -pp21-

Diky i za tohle, prestoze zde to nebude potreba... :)

Snuffer. 


______________________________________________________________________
Reklama:
Hrajte o 100.000 Kč a dalsi ceny! http://ad2.seznam.cz/redir.cgi?instance=56911%26url=http://www.soutezni-anketa.cz



This archive was generated by hypermail 2.1.3 : 19. 07. 2003, 16:33 CEST