Hi,
A project in VB6 recently worked without any problems but now it's
complaining when I try to use 'Right$'. In immediate mode, when I'm typing
'print left$("123456", 2)' I get the correct result '12'. When I type 'print
right$("123456" ,2) I expect the result '56' but all I get is an error 'type
declaration does not match declared data type'. And I can't find that I have
tried to declare 'right'. Can anyone explain what can cause this problem?
/ Bo
A project in VB6 recently worked without any problems but now it's
complaining when I try to use 'Right$'. In immediate mode, when I'm typing
'print left$("123456", 2)' I get the correct result '12'. When I type 'print
right$("123456" ,2) I expect the result '56' but all I get is an error 'type
declaration does not match declared data type'. And I can't find that I have
tried to declare 'right'. Can anyone explain what can cause this problem?
/ Bo
Comment