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

Unicode problem

Former Member
0 Likes
521

Hi All,

I have got a slight problem when turning unicode on for a program that has been developed in our system. It is basically a problem with the following field symbol assign command

ASSIGN PATH+PATHLENGTH TO <P>.

When I select the 'unicode checks active' check box i get the following error message: "You cannot use ASSIGN f+offset. Always use an explicit length (or '*')" I know this will be fair easy to recode so that it does not use a field symbols but i was just wondering if anyone had a generic solution to fix this as we have quite a few programs that need changing!

Thanks in advance

regards

Mart

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

Try this..

Store the valuewith offset in another variable

V_VAR = PATH+PATHLENGTH

then..

ASSIGN V_VAR TO

3 REPLIES 3
Read only

Former Member
0 Likes
494

Try this..

Store the valuewith offset in another variable

V_VAR = PATH+PATHLENGTH

then..

ASSIGN V_VAR TO

Read only

0 Likes
493

Excellent thanks Chandrasekhar that seems to work and has got rid of the error message.

PATH is in fact a Char 255 so am not sure why this error came up if its not supposed too! oh well

Thanks again

Regards

Mart

Read only

Former Member
0 Likes
493

Hi,

If the PATH is a charecter type field then you should not get the error, or else move it to a char field and write the code

Regards

Sudheer