First off, let me say that I hope this is the right base for this. And also, i'm just about a complete newbie to (Free) Pascal.
I have a constant:
for your use case, you really should use a var... constants do not change their values... that's why they are constant ;)
i'm not sure what you mean by saving the values, though... are you speaking of putting them into a data file and reading them back later??
Just that, save the value somehow. Maybe to disk? Yes, the data file
is a text file that has the percentages and number of votes. I want to display that file when the user chooses "view results" (of the voting booth).
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 98 |
Nodes: | 16 (0 / 16) |
Uptime: | 03:28:16 |
Calls: | 4,501 |
Calls today: | 2 |
Files: | 8,486 |
Messages: | 348,901 |