stefano3 Posted July 5, 2007 Report Posted July 5, 2007 buongiorno a tuttiho il problema che segue con la funzione find:%MW1182:=FIND(%MB2040:16;%MB1618:10)DOVE:I 16 CARATTERI CHE PARTONO DA %MB2040 SONO"."+393483046427E I 10 CHE PARTONO DA %MB1618 SONO3483046427FIN QUI TUTTO BENE NEL SENSO CHE MI VIENE ASSEGNATO IL VALORE 7 NELLA %MW1182.IL PROBLEMA NASCE QUANDO A PARTIRE DALLA %MW1618 CI SONO I CARATTERI3483046457 (CAMBIA LA PENULTIMA CIFRA)IN QUESTO CASO MI ASPETTEREI COME RISULTATO -1. INVECE MI TROVO 10!QUALCUNO HA GIA' AVUTO QUASTO PROBLEMA?GRAZIE. SALUTI
rddiego Posted July 9, 2007 Report Posted July 9, 2007 mi spiace ma deve essere =-1 guarda bene come costruisci le tue stringhe ci sarà lì un errore non di certo nella funzione FIND
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now