- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've just started using the Compaq program, previously I've been using Absoft on a Apple for my work.
Part of my program contains a RAN comand, which is a function not allowed as a actual argument. On the Absoft program I used you simply had to load a VAX/VMS library, which was a tick box as you went through the build process. I can't seem to see anything that looks like this with this program. How do I get it working?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you expecting a RAN() function to be present in a library provided with the compiler?
Maybe you should consider changing to the standard Fortran facility RANDOM_NUMBER, or possibly, to one supported as a backwared compatibility option by a number of Fortran vendors, such as RAND().
If you want an RNG to give the same results on various compilers, you must supply your own.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page