VBscript equivalent to 'clamp ' 2004-07-01 - By kim aldis
Back If then else in vbscript
Jscript:
t = t>max ? max : t t = t<max ? max : t
Consider using jscript, vbscript is more pants than an army laundry
> -- --Original Message-- -- > From: owner-xsi@(protected) > [mailto:owner-xsi@(protected)] On Behalf Of Bradley Kachel > Sent: 01 July 2004 11:03 > To: XSI@(protected) > Subject: VBscript equivalent to 'clamp' > > Hi guys, > > Anyone know the VB script equivalent to Mel script's 'clamp' command. > (so to only take into account the specified value range Eg, -1, 1) > > Thanks Heaps, > > Brad K > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ > SEEK: Now with over 50,000 dream jobs! Click here: > http://ninemsn.seek.com.au?hotmail > > --- > Unsubscribe? Mail Majordomo@(protected) with the following > text in body: > unsubscribe xsi > > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|