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: | 127 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 03:55:30 |
| Calls: | 7,768 |
| Calls today: | 1 |
| Files: | 9,380 |
| D/L today: |
381 files (237M bytes) |
| Messages: | 395,162 |
| Posted today: | 4 |