forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New ClearWin and CurDir$

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
GEWV



Joined: 25 Nov 2013
Posts: 19

PostPosted: Wed Feb 26, 2014 11:14 am    Post subject: New ClearWin and CurDir$ Reply with quote

I use "CURDIR$" in the following code:
Code:
        character*260 function AktVerz()
!       ----------------------------------------------------------------
!       UP : aktuelles Verzeichnis abfragen
!       ----------------------------------------------------------------
        use     mswin$
!       ----------------------------------------------------------------
        implicit none
!       ----------------------------------------------------------------
        CHARACTER (LEN=260)::CURDIR$
!       ----------------------------------------------------------------
 
!       --- Beginn -----------------------------------------------------
 
        AktVerz=CURDIR$()
!       ----------------------------------------------------------------
 
!       --- End --------------------------------------------------------
        return
        end

I use mingw32-make. And I get the following error:
Code:
AktVerz.for:
   CHARACTER (LEN=260)::CURDIR$
                                            1
AktVerz.for:
    use mswin$
                                            2
ERROR: Symbol 'curdir' at (1) conflicts with symbol from module 'clrwin$', use-associated at (2)
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Feb 26, 2014 6:29 pm    Post subject: Reply with quote

It should work if you simply comment out the line

Code:
CHARACTER (LEN=260)::CURDIR$


but for parallel development with FTN95 you could add some conditional compilation statements so that the line is visible to FTN95.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group