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: | 100 |
Nodes: | 16 (0 / 16) |
Uptime: | 19:59:39 |
Calls: | 6,161 |
Calls today: | 5 |
Files: | 8,501 |
D/L today: |
5,098 files (2,305M bytes) |
Messages: | 348,649 |
Posted today: | 2 |