ASP - Collection value assignment

Anders Eggers-Krag aek at mail1.stofanet.dk
Sun Apr 30 09:53:43 EDT 2000


I have the following code

def Application_OnStart():
 Application("THcolor") = "#DDDDDD"    <---
 Application("color1") = "infobackground"
 Application("color2") = "#DDDDDD"

I get an unknown error, in the line pointet to with the error

(
actually with this code I get a syntax error for some wierd reason,
but that can be solved placing the first line on the same line as the
function
as in
def Application_OnStart(): Application("THcolor") = "#DDDDDD"
 Application("color1") = "infobackground"
 Application("color2") = "#DDDDDD"
)

how do I assign values to items in collections?


--
Anders Eggers - Krag





More information about the Python-list mailing list