Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
str formata
#1
how can i use formata like this if i can ?

Code:
Copy      Help
int ix=49
str test
;test.formata("line1[]line%i[]line3"ix)
;out test


test.formata(
;line1
;line%i
;line3

ix)
out test
#2
You can't. Variable must be used.

str variable=
;line1
;line%i
;line3

test.formata(variable ix)
#3
thank you sir Big Grin


Forum Jump:


Users browsing this thread: 1 Guest(s)