10 Sep
2000
10 Sep
'00
3:52 a.m.
Prof Abimbola Olowofoyeku wrote:
Does anyone have any code for converting an octal string to a numeric value?
Since `8#42' is the EP notation for octal numbers, you can do ReadStr ('8#' + StringValue, IntegerVar); (It doesn't work with Val instead of ReadStr for "BP compatibility"...) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html