[ic] How to assign a scratch variable to a VBScript Variable??

Joachim Leidinger info at ebusiness-leidinger.de
Fri Dec 3 03:33:16 EST 2004


interchange at tvcables.co.uk wrote:
....
> I set a scratch variable on my admin_view page, this works just fine and I can 
> display the varible on the screen ok, so I know its been set.
> 

Try

> [set myname]

[seti myname]

> [loop-calc]
...
> [/loop-calc]
> [/set]

[/seti]

> [scratch myname] - Display on screen ok!
>
> Now I have my scratch variable (myname) I am trying to use its value (text 
> string) in some vbscript.
> 
> I am trying to set my vb variable (vbname) to be equal to the value of the 
> scratch variable (myname), I thought this would work:
> 
> <script language="vbscript">
> dim vbname
> vbname = "[scratch myname]"

Make sure [seti myname] first and vb script is using *after* setting the 
myname var.

Hope that helps!

Joachim

-- 
--------------------------------------------------------------------
Dipl. Phys.-Ing. Joachim Leidinger
eBusiness & eCommerce Consulting Leidinger
E-Mail:   marketing at ebusiness-leidinger.de
Internet: http://www.ebusiness-leidinger.de



More information about the interchange-users mailing list