FFU.pas(59,28) Fatal: Syntax error, ";" expected but ":" found
Look at this line:
WriteInfo := Name:40,Size:15;
You declared WriteInfo as string, so on the right side of assignment, you must provide a string. This should probably be (enclosed in quotes):
WriteInfo := 'Name:40,Size:15';
WriteInfo is wrong. i know that, i just dont know what kinda of variable to set it to. Its not that im writing Name:40,Size:15
into the console. im trying to work with the FindClose Name And Size Vars... This Is Difficult... Heres What i worked off of..
http://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html
"i just dont know what kinda of variable"
This statement sounds to me like you don't actually have any idea what
Name:40,Size:15
in a writeln statement does?
You can find the explanation here:
http://www.delphibasics.co.uk/RTL.asp?Name=WriteLn
I do highly recommend that page.
Once you have read that, I guess you will find that :40 does not make any sense in your case, since you want to store the data (so no alignment needed for multi line output).
As for the answer of your question: 2 variables or 1 record (String and Integer)