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 

Subroutine: SYSTEM_CLOCK

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





PostPosted: Tue Dec 14, 2004 10:56 pm    Post subject: Subroutine: SYSTEM_CLOCK Reply with quote

I have a question about the subroutine
Code:
SYSTEM_CLOCK
:
[pre]
SUBROUTINE SYSTEM_CLOCK([COUNT, COUNT_RATE, COUNT_MAX])
INTEGER,INTENT(OUT)::COUNT, COUNT_RATE, COUNT_MAX

[/pre]
According to the FTN95 help file,
Code:
COUNT
is incremented by one for each clock count until the value
Code:
COUNT_MAX
(the maximum value that
Code:
COUNT
can have) is reached and is reset to zero at the next count. However, when I display the output, it seems that
Code:
COUNT
is decremented (presumably until the value zero is reached and is reset to
Code:
COUNT_MAX
at the next count), not incremented.

Can anyone explain why? (Is it a misprint in the help file, or is the output processor dependent?)

Thank you.

Miguel.
Back to top
Anonymous
Guest





PostPosted: Wed Mar 23, 2005 5:15 am    Post subject: Subroutine: SYSTEM_CLOCK Reply with quote

The output value of COUNT is processor-dependent.
Back to top
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