- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody
I am dealing with a program which has an incredible length of string and this brings me an error:
E.g. :Fortran est.FOR(143): error FOR3852: syntax error detected between '
any idea how to solve it or make unlimited the length of the string?
The programi am usingis Fortran Power Station4.0
Thanks in advance
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have heard that the PowerStation 4 compiler was quite buggy but I don't know in what areas.
Couldyou try breaking the string into smaller "chunks" ? example :
integer :: len
character(1024) :: bigString
bigString = "Firstpart of character data"
len = len_trim(bigString) + 1
bigString(len:) = " more characters"
len = len_trim(bigString)+1
bigString(len:) = " even more characters"
and so on.
Les
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page