Consultor Eletrônico



Kbase 15488: What is V6COLON start-up option? COLON NO-LABEL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
What is V6COLON start-up option? COLON NO-LABEL

What does V6COLON start-up option do?
-------------------------------------
The V6COLON start-up option ensures that the v6
method of alignment will be used instead of the
v7 alignment method. This is to assist in the
migration of applications from v6 to v7.

In the 4gl, it is possible to line data up using
a combination of COLON and NO-LABEL. For instance,
look at the following code example:

for each customer no-lock:
display cust-num colon 10
name no-label colon 10 with side-labels.
end.

In version 6, this code would produce the following
results:

Customer Number: 333
Lift Line Skiing

In version 7, this code would produce the following
results:

Customer Number: 333
Lift Line Skiing


The results in version 7 are obviously more desirable
than those in version 6. In version 6, customers often
changed the code to workaround the alignment problem
by specifying a different COLON value for the name field
as shown below:

for each customer no-lock:
display cust-num colon 10
name no-label colon 12 with side-labels.
end.

This workaround was so widely used in version 6 that, when
the alignment problem was fixed in version 7, Progress
provided the V6COLON startup option so that all of
the version 6 code that had been written to work around
the issue would not be required to re-written.

To sum it up, the V6COLON start up option will ensure
that Progress uses the old alignment algorithm.

Other sources of information
----------------------------

Migrating Character Applications from Progress v6 to v7
Chapter 2

Progress Software Technical Support Note # 15488