[ZPT] floor div "//" not supported?

Marc Lindahl marc at bowery.com
Fri Mar 19 11:07:10 EST 2004


On Friday, March 19, 2004, at 07:34  AM, Tino Wildenhain wrote:

> Hi Marc,
>
> Marc Lindahl schrieb:
>> I guess the floor division operator is not supported in TALES? (//) 
>> or am I doing something wrong?
>
> In Tales? How is tales related to python expressions?
> The python expression name space should of
> course work.

that's where it didn't work...

>  Does it work in python scripts?

nope....

   Script line 14
     x = input // 1024
                ^
SyntaxError: invalid syntax

(actually pointing to the second slash)

>
> (Too lazy to test ;)
>
> Regards
> Tino
>




More information about the ZPT mailing list