avpatil
14th November 2004, 17:04
Hi,
I have a question. In message codes we can substiute variable e.g.
message(% not found, item) whay where item is a variable.
I want to acheive similar thing when writiing to a file. Is there a function that will let me susbtitute variables within string.

Thanks

Arvind

smanohar
14th November 2004, 17:08
Arvind,

You can use sprintf$() for that.

Check the programmers manual: http://www.baanboard.com/programmers_manual_baanerp_help_functions_formatting_io_sprintf

avpatil
14th November 2004, 17:45
Thanks Samnohar, I completely forget that.
Arvind