04-17-2012 05:20 AM
Hi all,
i need to use the function scanin order rto extract a string which legth is 9 and an integer of 5 numbers. So, i put Scan(snbox,"%s>%s[w9]%d[w5]",vl_refclient,vl_idcarton); Seems doesn't work because of the w5 (word) but i need exactly five numbers, So, what shall i do?
Best regards.
04-17-2012 06:10 AM
i founf a solution:
Scan(snbox,"%s>%s[w9]%s[w5]",vl_refclient,vl_idcarton);
Scan(vl_idcarton,"%s>%i",&idcarton);
thank you any way.