UPPERCASE Examples


Example 1:

 

  

UPPERCASE

RECVING

 

 

Variable

PL

FP

LP

Contents

Before:

RECVING

20

5

10

abcdefghijklmnopqrst

 

After:

RECVING

20

5

10

abcdEFGHIJklmnopqrst

 

No Condition Flags are set (all FALSE).

 

Example 2:

 

  

UPPERCASE

SENDING,RECVING

 

 

Variable

PL

FP

LP

Contents

Before:

SENDING

20

1

10

abcdefghij·········

 

After:

RECVING

8

1

8

ABCDEFGH

 

The EOS Condition Flag is set. RECVING is too small to receive the string and data has been truncated.

 



PL/B Language Reference UPDATE IFILE Example VARLIST Example