Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

fortran fuckup

Name: Anonymous 2013-05-27 13:35

How can I use the damn string functions? They work with constant strings such as 'foo', but as soon as I use character arrays, they fuck up. Obviously that's because strings are not arrays some shit like that. What the fuck am I to do?

Also, I'd like to do the following, say I have x = 'quux', I'd like to write a function that removes the last character, so that f(x) evaluates to quu. Ideas?

Name: Anonymous 2013-05-27 13:56

Found the answer to my second question, it's x(1:3) (at least that's somewhat convenient!)

Name: Anonymous 2013-05-27 14:36

yOu Faggots dont code fortran here?

Name: Anonymous 2013-05-27 14:58

>>3
No.
WE FORTRESS NAO

Name: Anonymous 2013-05-28 14:55

anyone?

Name: Anonymous 2013-05-28 14:58

nevermind, i'll ask on /g/

Name: Anonymous 2013-05-28 16:46

>>6
OK, we love you, bye-ni!

Don't change these.
Name: Email:
Entire Thread Thread List