‎2007 Apr 16 4:02 PM
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
‎2007 Apr 16 4:04 PM
Try this..
Store the valuewith offset in another variable
V_VAR = PATH+PATHLENGTH
then..
ASSIGN V_VAR TO
‎2007 Apr 16 4:04 PM
Try this..
Store the valuewith offset in another variable
V_VAR = PATH+PATHLENGTH
then..
ASSIGN V_VAR TO
‎2007 Apr 16 4:21 PM
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
‎2007 Apr 16 4:08 PM
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