On May 15, 4:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 15 mai, 16:40, castironpi <[EMAIL PROTECTED]> wrote: > > > > > > > On May 15, 9:26 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > > > > On Thu, May 15, 2008 at 9:32 AM, castironpi <[EMAIL PROTECTED]> wrote: > > > > Why can't I write this? > > > > -- > > > > Because your antecedent is undefined? > > > Of the two ways to play, just to say #define this per se would be a > > bad move, but that's one that comes from the wrong group. #define is > > a big scary macro, that python hasn't been using; it's the one-line > > typo. Instance: > > > #define life1 Tron( drive.SIZE[ 0 ]/ 2, drive.SIZE[ 1 ]/ 2 ) > > > Use it to render planes in solids. > > > Back about 'this', I honestly hadn't remembered 'til this time, when I > > got a chance to reread the subject. Plus I keep ditching my radio. > > Jesus H. Christ. This really sounds like my mother in law. Scary, > definitively.- Hide quoted text - > > - Show quoted text -
Definitely. But, due, I forgot to complete an example. > > #define life1 Tron( drive.SIZE[ 0 ]/ 2, drive.SIZE[ 1 ]/ 2 ) in C. Python: life1= 'Tron( drive.SIZE[ 0 ]/ 2, drive.SIZE[ 1 ]/ 2 )' exec( life1 ) Where does it go? -- http://mail.python.org/mailman/listinfo/python-list