# New Page logic

**URL:** <https://techcommunity.softwareag.com/t/new-page-logic/80194>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Utilities\
**Created:** [February 18, 2009, 11:51pm UTC](https://techcommunity.softwareag.com/t/new-page-logic/80194 "2009-02-18T23:51:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_quot\_Pete\_quot\_M](https://avatars.discourse-cdn.com/v4/letter/_/919ad9/32.png) [@\_quot\_Pete\_quot\_M](https://techcommunity.softwareag.com/u/_quot_Pete_quot_M)\
**Post date:** [February 18, 2009, 11:51pm UTC](https://techcommunity.softwareag.com/t/new-page-logic/80194/1 "2009-02-18T23:51:12Z")

</div>

This involves:

WRITE TITLE (\*\*) ----------------

AT TOP OF PAGE -----------------

. . . . . . .

NEWPAGE -------------------------

If you are an old Cobol programmer like me, watch out, and don’t try too hard to figure out the logical flow to this set up. Just write up a program template that works OK, and stick with it for coding in the future.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [February 19, 2009, 3:06am UTC](https://techcommunity.softwareag.com/t/new-page-logic/80194/2 "2009-02-19T03:06:01Z")

</div>

Congratulations on leaving the dark side. I am presuming, perhaps incorrectly, that  
“Old Cobol Programmer” is equivalent to “New Natural programmer”.

WRITE TITLE and AT TOP OF PAGE are Event Driven (also called non-procedural). Physical placement in code is irrelevant.

NEWPAGE is a procedural statement. It does NOT, however, start a new page. It merely sets a flag that causes the next DISPLAY, WRITE, or PRINT to go on a new page.

steve

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [February 19, 2009, 5:42am UTC](https://techcommunity.softwareag.com/t/new-page-logic/80194/3 "2009-02-19T05:42:55Z")

</div>

Pete - you might want to take a look at this discussion on Natural Coding Standards: [url][http://tech.forums.softwareag.com/viewtopic.php?t=7290[/url]](http://tech.forums.softwareag.com/viewtopic.php?t=7290%5B/url%5D)

---

<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, 2:51pm UTC](https://techcommunity.softwareag.com/t/new-page-logic/80194/4 "2021-04-02T14:51:30Z")

</div>


