Lazarus newby here - did some playing around with an unfinished Delphi application 8 years ago, and have done no programming since, so VERY rusty on Pascal syntax etc. Revisiting the application rewriting it with Lazarus, so lots of research & scouring of examples as I go, however this one escapes me.
A simple routine to read a text file, the contents of which will be used to set the path to my dbase tables (in case the deployment doesn't allow the path I have chosen during design). I declare a variable as type TextFile :
and then assign the text file name to it:
Assign(filePath, 'dBpath.txt');
but the compiler throws up an error of "wrong number of parameters specified for call to "Assign". All info I can find says it only needs the two parameters. Anyone shed any light?