- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Having loaded the latest release from 31/10/2024 (2025.0.) I though I would try the TOKENIZE intrinsic having seen another user post a problem on this:
As you can see we correctly write a bunch of herbs to the console but the debugger watch and hover show a whole load of parsley. The Scarborough Fair ballad with Parsley, Parley, Parsley and Parsley doesn't have the same ring to it.
Thought I would mention this as IFX/Debugger issues are my main outstanding IFX issues. I know some have been fixed for this release.....
program test
implicit none(type, external)
external :: tokentest!, dataproc
call tokentest()
pause
!call dataproc()
!pause
end program test
subroutine tokentest()
implicit none(type, external)
CHARACTER(LEN=:),ALLOCATABLE,DIMENSION(:) :: tokens, separators
CHARACTER(LEN=3):: delims = ',&'
CHARACTER(LEN=:),ALLOCATABLE :: herbs
INTEGER,ALLOCATABLE,DIMENSION(:) :: begins, ends
herbs = 'parsley,sage,rosemary,&thyme'
CALL TOKENIZE (herbs, delims, tokens, separators)
write(*,'(A)') tokens
write(*,'(A)') separators
CALL TOKENIZE (herbs, delims, begins, ends)
end subroutine tokentest
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bump
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