Hi all:
Is there any way to compile with global double precision, i.e., setting all constants,variables and intrinsics in double precision a la UNIX -r8 ?
Thanks,
Raul
Archived Visual Fortran (read-only)
OpenGL: NIST v1.2.1 & Dev. Studio
National Institute of Standards and Technology (NIST)
OpenGL Version 1.2.1 /GLUT 3.7.1/CVF6.1a
Developers Studio Useage JMS 2000.12.04 Rev.0
Ed Dunlop lays the groundwork for acquiring
Bill Mitchell's F90GL environment (Message #2458).
If you follow Ed's instructions, you'll be able
to compile, link, and run ~13 different .exe's
from the CVF command line environment. From my
point of view, ModView.Exe is the most instructive
of the .exe's.
I've been successfully using NIST's v1.2.1
Do you know Norman Lawrence?
Just got a copy of the v6.5 in the mail. There is a card in the box announcing the Norman Lawrence's new book due out in many months. We could really use this book for training. Does anyone know how to contact him so that we can offer our "proof reading" services ?!
Thanks, Tim Hatamian
Mathematicus Labs
Performance differences
Hello,
we discovered tremendous performance differences running the same non-optimised Fortran 90 code under NT4.0 and Win98. It does not matter where the code is compiled. The code runs much slower on Win98 machines (AMD Athlon 600MHz) than on NT4.0 machines (Intel PIII 500MHz).
What is the reason? And how can we solve the problem?
Thanks in advance,
Seb.
ESC SHORTCUT FOR EXIT/CLOSE
Hello,
I would like to use the ESC-key as shortcut for closing a SDI application with a single edit control in the client area (the application is a simple text editor).
I have tried to use WM_KEYDOWN and WM_CHAR messages, but it seems that these messages are never send. Any key pressed generates a WM_COMMAND message. Even when focus is on the menu and I press a key, the WM_KEYDOWN message is still not send.
Am I missing something here?
Walter Kramer
DEFINED OPERATORS/INTERFACE
The examples of how to define your own binary operator in the
language reference (example operators .BAR. and "+") omit to show
where you put the executable lines of code that perform the
function (section 8.9.4). I have tried placing the executable lines of
code in every conceivable place
(e.g. between "FUNCTION MYFUNC(A,B)"
and "END FUNCTION MYFUNC" , which seems logical)
but the compiler kicks it out or says I haven't defined the operator.
Lets look at the .BAR. example provided:
ATAN within [0,2pi)
I want to take the arctangent of y/x, with the output in the range [0,2pi). Is there a more elegant way than using
angle = AMOD(ATAN2(y,x)+TWOPI,TWOPI)
where I have defined TWOPI as a parameter?
Unformatted WRITE of user-defined datatype
I have a gigantic array (several dozen megabytes) of a user-defined datatype. I would like to write this array out to a binary file using unformatted I/O for fastest operation.
Let's say that my array is X. This is my line of code:
TYPE(MYTYPE), ALLOCATABLE :: X
...
WRITE(3) X
A Dialog Box in a DLL
I am using DF 5.0. I have a problem to call a simple Dialog Box written in DLL from VB. It can be compiled, but can not be called by VB. (just shutdown the VB project). It appears DlgInit can not initialize the Dialog box. Maybe in version 6.x, one can use DlgInitWithResourcehandle, but in version 5.0D, there is no such function. From reference manual, I found Dlginit is compatible with Window Dll. My example below is working perfectly in QuickWin, but not in DLL. Can anyone help?
subroutine dgbox1()
use dfwin
use dflogm
implicit none
Pressing Return when OK button has focus
I have a API project which has a dialog with several edit boxes and OK & Cancel buttons.
I have programmed it so that if the user pressed Return on an edit box the focus moves to the next field.
On the last field pressing retun passes focus to the OK button which is displayed with a dotted line round it. If I press Return nothing happens, but if I click on OK I get a response.
Is there something that I am missing?
I have tried renaming IDOK to my own ID name.
