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 

Date/time of compilation

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Mar 01, 2005 1:30 pm    Post subject: Date/time of compilation Reply with quote

In C and C++ it is possible to use predefined constants __DATE__ and __TIME__ to embed the compilation date and time into the executable. This is useful for outputting the date and time of executable compilation at runtime. Is there a similar mechanism available in Salford Fortran 95?

Ron
Back to top
Andrew



Joined: 09 Sep 2004
Posts: 232
Location: Frankfurt, Germany

PostPosted: Sat Mar 05, 2005 5:11 am    Post subject: Date/time of compilation Reply with quote

I am afraid the preprocessors available with FTN95 /FPP and /CFPP do not support macro substitution, they are only intended for use for conditional compilation. The help for these preprocessors can be found at:

/FPP: FTN95 Fortran language extensions -> Conditional compilation
/CFPP: FTN95 Fortran language extensions -> The C-Style preprocessor

in the FTN95 help file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support 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