Skip to main content
24-Ruby IV
June 8, 2012
Question

While with empty placeholder

  • June 8, 2012
  • 1 reply
  • 2714 views

Sometimes we need to have a loop with the output from the middle of the cycle or and of the cycle (the repeat cycle).
To do this, we have to create a loop while with 1 (not 0) as the top operand and with break, continue or return operators.

See please the picture:

InfLoop.png

1 reply

1-Visitor
June 8, 2012

Good idea Valery.

I would also like to return a variable with x numbers of rows or columns, with empty placeholders for the user to input.

Mike

24-Ruby IV
June 8, 2012

Mike Armstrong wrote:

Good idea Valery.

I would also like to return a variable with x numbers of rows or columns, with empty placeholders for the user to input.

Mike

Thanks!

One more idea!

SparseMatrix.png

19-Tanzanite
June 8, 2012

Valery Ochkov wrote:

One more idea!

SparseMatrix.png

Not so sure about this Valery - it is inconsistent with the existing form:

Matrix.PNG

Alan