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: | 121 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 04:23:43 |
| Calls: | 7,308 |
| Calls today: | 11 |
| Files: | 9,244 |
| U/L today: |
3 files (114M bytes) |
| D/L today: |
1,562 files (682M bytes) |
| Messages: | 383,550 |
| Posted today: | 22 |