I've written a program and am reading data from a file using the
fread_line command.
~the data in the file line by line goes like
1
3
4
Merlin
CarSo Bs
2
3
4
Pamela
Beverley, UK
3
4
5
Name
Location
etc, each user record is 5 lines. I can read the lines in okay with fread_li but I need to convert the numbers from character strings to integers.
Is there a command to convert a string to an integer or
is there an easier way to do it?
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 89 |
Nodes: | 16 (0 / 16) |
Uptime: | 01:26:43 |
Calls: | 6,561 |
Calls today: | 5 |
Files: | 8,478 |
U/L today: |
1 files (14K bytes) |
D/L today: |
132 files (31,160K bytes) |
Messages: | 359,204 |
Posted today: | 3 |