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: | 120 |
| Nodes: | 16 (1 / 15) |
| Uptime: | 14:10:52 |
| Calls: | 7,643 |
| Calls today: | 5 |
| Files: | 9,366 |
| D/L today: |
566 files (279M bytes) |
| Messages: | 392,482 |
| Posted today: | 18 |