Adding variables to AssignFile command

[ Delphi Forum ] [ Delphi Tutorials -- by DelphiLand ]

Posted by RSQJohn on May 20, 2003 at 13:25:22:

Hi there, I am trying to create a file at runtime with the code


This works fine, what I need to do is stick a variable in there so that each file I create has a different filename. I tried


but it came up with "Invalid Filename" when I tried to open the file with


Any help would be great :)

Related Articles and Replies:

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]