Navigation:  Reference > Functions >

JustifyField()

Print this Topic Previous pageReturn to chapter overviewNext page

 

JUST(1,2)

 

PURPOSE

This function will return the field with the non-space characters moved to the left, right, or center.

 

PARTS

 

1 f/c/eRequired - The field to be justified, must be A type.

 

2 f/c/eRequired - Which direction:  'L' - Left, 'R' - Right, or 'C' - Center.

 

RETURN TYPE - A

The original field remains unchanged.

 

EXAMPLE

define x,y type a size 20

x = 'ABCD    '

y = just(x,'r')

// y = '    ABCD'

 

y = just(x,'C')

// y = '  ABCD  '

 

 


Page url: http://www.cassoftware.com/tas/manual/just().htm