Hi all,
my visual basic is real weak and am trying to work out how to use the functions as given in the examples.
can't get the following to work
function Upper(S: string): string
keep getting MS VBScript error :1006 Expected ')' Line 10, Column 17
anyone give me a little script to demonstate it to me?
thanks in advance
demac
function has me stumped
Moderators: JRL, Dorian (MJT support)
There is no VBscript function called Upper. I think you are thinking of UCase:
//Empty VBSTART/VBEND block just to tell script to use VBScript
VBSTART
VBEND
Let>str>Hello World
VBEval>UCase("%str%"),str
//Empty VBSTART/VBEND block just to tell script to use VBScript
VBSTART
VBEND
Let>str>Hello World
VBEval>UCase("%str%"),str
MJT Net Support
[email protected]
[email protected]
Ah - you mentioned VBScript so I thought you meant the UpperCase function. The complex expression functions can be used in If> or Let> statements:
Let>somestring=freddy
Let>somestring={Upper(%somestring%)}
This will set somestring to FREDDY.
Let>somestring=freddy
Let>somestring={Upper(%somestring%)}
This will set somestring to FREDDY.
MJT Net Support
[email protected]
[email protected]
I see the light
Thanks for your swift reply.
I assumed it was vb script, now i understand how it is implemented.
regards demac
I assumed it was vb script, now i understand how it is implemented.
regards demac