Re: print function question

2006-07-25 Thread Simon Forman
Bertrand-Xavier M. wrote: > On Tuesday 25 July 2006 05:52, Eric Bishop wrote: > > Why does this work: > > > > # start > > a = 5 > > > > print a, 'is the number' > > > > #end, prints out "5 is the number" > > > > But not this: > > > > # start > > > > a = 5 > > > > print a 'is the number' > > > > #en

Re: print function question

2006-07-24 Thread Bertrand-Xavier M.
On Tuesday 25 July 2006 05:52, Eric Bishop wrote: > Why does this work: > > # start > a = 5 > > print a, 'is the number' > > #end, prints out "5 is the number" > > But not this: > > # start > > a = 5 > > print a 'is the number' > > #end, errors out > > The difference here is the comma seperating th

print function question

2006-07-24 Thread Eric Bishop
Why does this work:   # start a = 5   print a, 'is the number' #end, prints out "5 is the number"   But not this:   # start   a = 5   print a 'is the number'   #end, errors out   The difference here is the comma seperating the variable and the string literal. Is the comma some sort of concatenatio