comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Adding two strings together
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: modern syntax [message #92327 is a reply to message #92326] Wed, 18 November 2015 04:06 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 11/18/2015 12:47 PM, greg.addr@googlemail.com wrote:
> variable1.tostring() vs string(variable1)
>
> - the parentheses have become a relict, symbolically enclosing an argument which has gone elsewhere

The parentheses are necessary because tostring() is a function (or
better said a "method") which accepts arguments.

I kind of agree with the rest of your comments about consistency issues,
but I find that the advantages of the new syntax are overwhelming.

Cheers,

Fabien
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Combining two strings
Next Topic: Transparent overlay in postscript cgimage

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Jul 10 14:36:20 PDT 2026

Total time taken to generate the page: 2.23399 seconds