if ctop and cleft are variable you don't really use them but just gives a
string.
Just use
newwin = open("","","height=380, width=415, top="+ctop+", left="+cleft+",
status=no, toolbar=no,directories=no,menubar=no,location=no,resizable=no");
<henrik.holmberg@s...> wrote in message news:237092@j...
>
> Why doesn't cleft and ctop work in this code?
>
> newwin = open("","","height=380, width=415, top=ctop, left=cleft,
> status=no,
toolbar=no,directories=no,menubar=no,location=no,resizable=no");
>
> It doesn't take the values of ctop and cleft, why?
>
> They are declared as var.
>
>
> /Henrik
>
>