This code below does not work?
DISPLAY "You are, " WS-CUSTOMER-NAME. "And your age is ", WS-AGE.
Can somebody fix it with proper codes?
This code below does not work?
DISPLAY "You are, " WS-CUSTOMER-NAME. "And your age is ", WS-AGE.
Can somebody fix it with proper codes?
I don’t have a way to test this but I noticed you have a comma outside the 2nd quote. Why not try …"And your age is, " WS-AGE. ? DID THAT WORK?
My preference would be to just omit the commas from both your quotations.
DISPLAY "You are, " WS-CUSTOMER-NAME " And your age is , " WS-AGE.
Above solution should work, but depending on compiler settings you may have to use a single quote.
BTW when Iam trying to post a question I am not able to. Does anyone knows why?
Tried it but the same only.
Thanks Gersen, let me try this fixed.