Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

In Scripts Variable window and constant wind difference?

Former Member
0 Likes
548

In Scripts Variable window and constant window difference?pls help me

4 REPLIES 4
Read only

Former Member
0 Likes
522

Hi

VAR - Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.

CONST - Window with constant contents which is only formatted once.

CONSTANT WINDOW

A window of type CONST has the same contents and size on all layout set pages, on which a corresponding page window is defined. This allows the processing of the window contents to be optimized internally.

Page windows whose allocated window is of type CONST must have the same size throughout the layout set. If a window of type CONST is full, all remaining text the application program wants to output in this window, is lost. Constant windows do not trigger a page break. In other words: all text exceeding the window size is simply truncated.

VARIABLE WINDOW

The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different layout set pages.

As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the layout set.

Edited by: Jyothsna M on Feb 20, 2008 7:48 AM

Read only

Former Member
0 Likes
522

Hi,

VARIABLE WINDOW

The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different layout set pages.

As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the layout set.

CONSTANT WINDOW

A window of type CONST has the same contents and size on all layout set pages, on which a corresponding page window is defined. This allows the processing of the window contents to be optimized internally.

Page windows whose allocated window is of type CONST must have the same size throughout the layout set. If a window of type CONST is full, all remaining text the application program wants to output in this window, is lost. Constant windows do not trigger a page break. In other words: all text exceeding the window size is simply truncated.

Pls. reward if useful...

Read only

Former Member
0 Likes
522

Hi,

The main difference:

The content of variable window is regenerated on every page. The content of a constant window is generated once at the beginning and later printed on every page.

Regards

Bhaskar

Read only

Former Member
0 Likes
522

hi,

There r four types of Window.

1. Constant: Constant window is used for displaying the static contents i.e. the contents which are same on every page.

2. Variable: Variable window is used for displaying variable contents but if the content of this window expands more than window size then the contents would be truncated.

3. Main: This window is a cumpoulsary window. There shud be atleast one Main Window in Script. Main Window is used to display line items i. e. the contents that we print using a loop. we can have 99 main windows in Script. To seperate these main windows Text Elements are used.

4. Graphics : It is used display Graphics such as logo.