# 1.9 block parameters

**URL:** <https://rubytalk.org/t/1-9-block-parameters/60864>\
**Category:** ruby-talk\
**Created:** [17 November 2010 02:18 UTC](https://rubytalk.org/t/1-9-block-parameters/60864 "2010-11-17T02:18:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Sayeau](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@John\_Sayeau](https://rubytalk.org/u/John_Sayeau)\
**Post date:** [17 November 2010 02:18 UTC](https://rubytalk.org/t/1-9-block-parameters/60864/1 "2010-11-17T02:18:13Z")

</div>

I've tried both netbeans and textmate. Neither of them like the 1.9  
block param syntax:

foo = 'this is an external variable'  
bar = 23

10.times do |i;foo|  
&nbsp;&nbsp;bar = bar + 1  
&nbsp;&nbsp;foo = bar % 2  
end

Is there something I need to do to the editors?

I tried (in netbeans) setting different versions of ruby.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
