help on sprintf
Posted: Sat Jun 02, 2007 8:54 pm
Hello, i've an error with this code and i don't understand why.
With 1 arg, it's working, and with 2 args no
Any idea ?
With 1 arg, it's working, and with 2 args no
Any idea ?
Code: Select all
;===============================
; WORKING
text$ = ""
format$ = "nombre : %d"
sprintf_( text$, format$, 5)
Debug text$
;===============================
; NOT WORKING
format$ = "nombre : %d, nombre 2 : %d"
sprintf_( text$, format$, 5, 6)
Debug text$
;===============================