What about % just like in C syntax family languages ?

Na , Michael O'Brien <[EMAIL PROTECTED]> escreveu:

> I'll vote for that also. It improves readability quite a bit.
>
> But is there a better operator than "\"?
>
> Shame "//" is taken. What about "/."
>
> Michael
>
> Lars Hansen wrote:
>
> I have been pushing for this in the past on several occasions, but  
> enthusiasm in
> the WG has been scant, unfortunately. Maybe I haven't been pushing hard  
> enough.
>
> --lars
>
> From: [EMAIL PROTECTED]  
> [mailto:[EMAIL PROTECTED]
> On Behalf Of TNO
> Sent: 5. mars 2008 14:13
> To: [email protected]
> Subject: New Operator
>
> Is it too late to propose an integer division operator into the spec? I  
> do quite
> a bit of WSH programming in both VBScript an JScript and sometimes its a  
> bit of
> an irritant during a translation, it would be nice to see this operator  
> "\"
> available in the new ECMAScript instead of having to rely on more  
> inefficient
> workarounds:
>
> VBScript:
>
> Dim result
> result = 19 \ 4 '(result = 4)
>
> JScript:
> http://www.codingforums.com/showthread.php?t=58799
>
>
> _______________________________________________
> Es4-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es4-discuss


_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to