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 

Search found 1969 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Snippets of Wisdom (?) #1 - GOTO ...
JohnCampbell

Replies: 4
Views: 61

PostForum: General   Posted: Wed Sep 19, 2018 1:04 pm   Subject:
Excessive use of GOTO can create code that is difficult to read, which was more common pre F90 and F77.
Alternatives of CYCLE and EXIT in DO loops and IF ... THEN ... ELSE ... END IF can create more ...
  Topic: Assistance in updating a window
JohnCampbell

Replies: 14
Views: 181

PostForum: ClearWin+   Posted: Tue Sep 18, 2018 4:53 am   Subject:
I am by no means an expert in %pl, but I am unsure of your selection (and definition) of the 2 windows you are using and the separate definition of arrays for each window.

If you are updating windo ...
  Topic: Incorrect/missing line numbers in traceback after abort
JohnCampbell

Replies: 9
Views: 177

PostForum: Support   Posted: Tue Sep 11, 2018 2:37 am   Subject:
On the 1970's compilers I used, declaring "REAL V(501)" would have not caused any problems, as V being an argument would have had memory allocation in the calling routine. As there was no ar ...
  Topic: %pl - suppress tick-numbers ?
JohnCampbell

Replies: 14
Views: 323

PostForum: ClearWin+   Posted: Thu Sep 06, 2018 1:56 am   Subject:
My recommendation would be to use %gr, rather than %pl.
You would have much more flexibility with layouts. Just divide the annotation tasks up and write routines for each task. It has to be easier th ...
  Topic: FTN95 beta testing
JohnCampbell

Replies: 37
Views: 1666

PostForum: General   Posted: Wed Aug 15, 2018 5:35 am   Subject:
I too am a namelist sceptic.
It appears to be a data input format suited for the program developer, rather than the user.
However it does have some flexibility that is of interest.

mecej4, for t ...
  Topic: Stack problem
JohnCampbell

Replies: 22
Views: 891

PostForum: 64-bit   Posted: Tue Aug 07, 2018 1:59 pm   Subject:
Paul,

Thanks for the advice. The updated info does describe what is happening for 64-bit.
  Topic: Error in forall?
JohnCampbell

Replies: 6
Views: 311

PostForum: Support   Posted: Thu Aug 02, 2018 4:24 am   Subject:
Does FTN95 take a copy of Bmat for this FORALL ?

In F 2018, FORALL has now been labeled as obsolete, together with COMMON and EQUIVALENCE

FORALL is a feature that few compilers embraced, either ...
  Topic: GET_SCREEN_BLOCK@ was removed?
JohnCampbell

Replies: 5
Views: 234

PostForum: ClearWin+   Posted: Wed Aug 01, 2018 10:46 am   Subject:
Dan,

See Appendix A. "Functions ported from DBOS"
page 429+ of clearwin.pdf (Feb 2000)

The replacement is :
CREATE_GRAPHICS_REGION@ etc.

John
  Topic: Stack problem
JohnCampbell

Replies: 22
Views: 891

PostForum: 64-bit   Posted: Wed Aug 01, 2018 7:05 am   Subject:
Dan,

These are big numbers, even in 2018. I would be checking that the O/S and processor support the memory install you are considering. My latest (and greatest) I7-8700K supports only 64 GB physic ...
  Topic: Conversion from Unix timestamp (epoch) to human date/time
JohnCampbell

Replies: 7
Views: 306

PostForum: General   Posted: Mon Jul 30, 2018 7:40 am   Subject:
Just a guess !!

The unix date/time stamp is a continuous number (10 characters), so the last 9 characters could simply be nano seconds.

The format could just be the combination of 2 numbers
10 ...
  Topic: Stack problem
JohnCampbell

Replies: 22
Views: 891

PostForum: 64-bit   Posted: Fri Jul 27, 2018 7:46 am   Subject:
The below link is for those who want to see the stack test program as is.
Running the program reports the memory address of two arrays + id which is a local variable on the stack. The memory addresse ...
  Topic: Stack problem
JohnCampbell

Replies: 22
Views: 891

PostForum: 64-bit   Posted: Fri Jul 27, 2018 4:15 am   Subject:
Eddie,

Thanks for your comments. I have reviewed the ftn95.chm.
My understanding is "the linker stack allocation algorithm" does not exist. It just allocates a fixed size, which apparen ...
  Topic: Stack problem
JohnCampbell

Replies: 22
Views: 891

PostForum: 64-bit   Posted: Wed Jul 25, 2018 12:31 pm   Subject:
Dan,

All windows programs that use a stack have a stack size limit, both 32-bit or 64-bit.
Other operating systems allow a stack extension, but the windows I know doesn't. That Windows will not pr ...
  Topic: Calculating the outer vector product
JohnCampbell

Replies: 37
Views: 1677

PostForum: Support   Posted: Thu Jul 05, 2018 4:51 am   Subject:
Paul,

Run mecej4's test program using FTN95 and gFortran. The following adaptation gives an indication that gFortran is running !
I ran it in PLATO selecting Release Win32 then Release x64 : Tools ...
  Topic: Bad SLINK64 diagnostics
JohnCampbell

Replies: 18
Views: 825

PostForum: 64-bit   Posted: Wed Jul 04, 2018 5:44 am   Subject:
Dan,

Place a del run.exe at the start of you build.bat file.

I actually use:
del %program%.exe
del *.mod
del *.obj

(is run.exe a good name to use ?)
 
Page 1 of 132 Goto page 1, 2, 3 ... 130, 131, 132  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group