Convert string to number?

36 views
Skip to first unread message

Roger Hunter

unread,
Mar 2, 2015, 10:24:18 AM3/2/15
to gnu-f...@googlegroups.com
I need to convert characters to a number. I'm using F95 and it says an internal read can do it but I get a TYPE error.

In TrueBasic the VAL function does it but F95, what?

Also, is there a skip format descriptor? It used to be x, as in a10,5x,i4 but now?

I'm trying to extract values from a file of long character strings.

Roger

Roger Hunter

unread,
Mar 2, 2015, 11:26:59 AM3/2/15
to gnu-f...@googlegroups.com

Never mind, I found it. x does work.

Roger
Reply all
Reply to author
Forward
0 new messages