Hello!

I'm using format to format a number in exactly 15 characters but this is returning a blank string, does anyone have an idea why?
So far only text works eg. "ABC", not numbers.

This is just a reduced demonstration i typed right now:
_______________________________________________
Private Sub ApplyCaption()
Dim vSPC as string

vSPC = string(15," ")

lbldemo.caption = format$(str (VarInteger),vSPC)

End Sub
_________________________________________________


Thanks a lot, I'm almost finished my freeware game and this is really getting in the way!

Alex Pineda

-------------------------------------------------
Visit www.bluecatstudios.i-p.com