MOVE - Character String to Integer Examples


Example 1:

 

  

MOVE

DIM TO INT

 

 

Variable

PL

FP

LP

Contents

Before:

DIM

1

1

1

A

 

INT

1

 

 

0x0

 

After:

DIM

1

1

1

A

 

INT

1

 

 

0x41

 

No Condition flag is set (all FALSE).

 

Example 2:

 

 

Variable

PL

FP

LP

Contents

Before:

DIM

4

1

4

1111

 

INT

1

 

 

0x11

 

After:

DIM

4

1

4

1111

 

INT

1

 

 

0x31

 

The EOS Condition flag is set. Significant data from DIM’s Logical String was lost.

 

 



PL/B Language Reference MOVE - Character String to Character String Examples MOVE - Character String to Numeric Field Examples