Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CString Mismatch for Empty Fields

palu
Product and Topic Expert
Product and Topic Expert
0 Likes
1,116

In Debug mode, i can see two fields which are empty. But, one field is of type Cstring{3} and other field is of type Cstring{0}. How to convert the field from Cstring{0} to Cstring{3}?

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,061

Your question is asked in a weird way, I'm not sure you understand the rest of your code.

Cstring means STRING.

Number {3} means that there are 3 characters.

So I guess that you want to initialize 3 spaces?

var = `   `.

But developers never do that.

Could you show your code and clarify the question?