tags:

views:

68

answers:

1

Hi,

This is a quick (and probably stupid) question but if I have two consts string how can I build the next const from the previous const i.e.

Const PATH_SRC = "some path\"
Const PATH_SRC_FILES = PATH_SRC & "files\"

I know you may say a const is a const but looking for a quick solution. This is being performed in a vbs script.

Thanks

+6  A: 

If I recall correctly from my VBS days; you can't do that in VBS. A constant can only be set to a literal.

Frank Rosario
Correct, and you can't do it in VB6 either. (For some reason the question is tagged VBScript and VB6.)
MarkJ
@MarkJ: Not anymore :-)
Mike Spross