gvSIG-Desktop 1.11. User manual
This new functionality has been introduced to facilitate the task of filling a field in a table with consecutive numbers by means of a mathematical function in the field calculator.
This function is typically used for the "ID" field of a layer's geometries. To access it you need to activate edit mode for the layer and then open the table. Select the field (of type Integer) to which you want to add consecutive numbers and click on the field calculator.

Calculator button
Select the numeric type option and then double-click the "rec" command, as shown in the figure below.

Rec function (consecutive numbering)
Once the process is complete the selected field in the table will be filled with consecutive numbers, starting with the number "0". Finish editing and save changes if desired.