You can use VB, or IronRuby or Managed JScript. But Python, no way!!!!!!

Matt Clinton <[EMAIL PROTECTED]> wrote: Ori,

I'm pretty sure there isn't - that's a basic 'feature' of Python itself:
code blocks are defined by whitespace.  
(one of many bug-reduction syntax features)

If you're working in VS, you'll often spend a little time highlighting a
block of rows then pulling down Edit - Advanced - Increase/Decrease
Indent 
when refactoring.  
Other editors (I'm fond of Crimson) make that even easier.

Maybe Dino and Team can / have implement(ed) something special so IP can
recognize blocks defined by curly-braces, but it would be rather
anti-pythonic to do so.  Why do you need to?

Cheers,
-- Matt

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ori
Sent: Monday, August 13, 2007 12:34 AM
To: users@lists.ironpython.com
Subject: [IronPython] Using blocks separators instead of indentation


Hello,

Is there a way to use code blocks (like { and } in other languages)
instead
of indentation?

Thanks,
Ori
-- 
View this message in context:
http://www.nabble.com/Using-blocks-separators-instead-of-indentation-tf4
259431.html#a12121490
Sent from the IronPython mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



Mohammad Tayseer
http://spellcoder.com/blogs/tayseer

       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to