Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1559

Micro Focus Visual Studio Dialog System

$
0
0

Is there any way of moving one character of a string variable into another variable in the Dialog System? For example:

 

YES-STRING  X 3

Y-STRING      X 1

 

The 'YES-STRING' contains the word "YES" and I would like to move the letter 'Y' from the 'YES-STRING' to the 'Y-STRING'. I can do this in the COBOL program by doing the following :

MOVE YES-STRING(1:1) TO Y-STRING.   

 

But can this be done in the dialog? I know the Dialog System can move entire variable such as:

  MOVE YEST-STRING Y-STRING

 

But I want to be able to move just a character of a string to another variable in the Dialog System. Thanks in advance for your help.

 

- Alex Castro


Viewing all articles
Browse latest Browse all 1559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>