# Line numering algorithm in Natural programs

**URL:** <https://techcommunity.softwareag.com/t/line-numering-algorithm-in-natural-programs/206118>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Basics-on-Mainframes\
**Created:** [November 14, 2019, 10:26am UTC](https://techcommunity.softwareag.com/t/line-numering-algorithm-in-natural-programs/206118 "2019-11-14T10:26:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mun1ek\_2](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mun1ek\_2](https://techcommunity.softwareag.com/u/mun1ek_2)\
**Post date:** [November 14, 2019, 10:26am UTC](https://techcommunity.softwareag.com/t/line-numering-algorithm-in-natural-programs/206118/1 "2019-11-14T10:26:12Z")

</div>

What is the line numering algorithm for Natural programs ? I see that algorithm changes when lines is more or less, but what are the ranges when it changes ?

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [November 14, 2019, 4:50pm UTC](https://techcommunity.softwareag.com/t/line-numering-algorithm-in-natural-programs/206118/2 "2019-11-14T16:50:31Z")

</div>

It would have been better to post this in the Natural News and General Topics forum.

A module with 1 to 999 lines is numbered by 10.  
A module with 1,000 to 1,999 lines is numbered by 5.  
A module with 2,000 to 4,999 lines is numbered by 2.  
A module with 5,000 to 9,999 lines is numbered by 1.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:43pm UTC](https://techcommunity.softwareag.com/t/line-numering-algorithm-in-natural-programs/206118/3 "2021-04-02T15:43:48Z")

</div>

Closed on April 2, 2021, 3:43pm UTC


