Loops in code blocks


#1

<p class=“p1”>Hello,
I’ve got my own function, that you can see working in the block below. But I can’t get in going within a loop. Are you able to see my error? And could explain the [Imperitave] command?</p>
<p class=“p2”>Screenshot 2015-02-20 14.30.12</p>
<p class=“p2”>Thanks a ton,
Steve</p>


#2

Hi Steve,

I think you’ll need to define “func” inside the imperative section( inside the {…} ). Right now you’ve only defined it outside.


#3

Hi Steve, it is a bug – imperative language block doesn’t pass a correct func to __Apply() funciton. We’re fixing it.


#4

Hi Yu Ke,

__Apply() seems to be working with the daily versions:

2015-02-23_123218


#5

Thanks for the input.
Best,
Steve