Many years ago, when I wrote a lot of LISP code for AutoCAD - back when Microsoft Fortran was in Version 3.03 or thereabouts and I could comfortably make a cup of tea whilst the program compiled on a COMPAQ Portable - I had people using the programs in our office. It is really hard to keep track of programs called TEXTIN etc, so I started naming them after Norse and Greek gods. If someone is complaining about a program called HAGAR you know it is yours and not something they stole from a magazine - mainly Hot Tip Harry's monthly suggestions.
Remember Byte - good magazine.
So I looked to extend the structural analysis program BEAMS and I do not want to throw away that first iteration as it gives me a base case that is tested, so I grabbed a God's name in this case Lóðurr - apparently this work only appeared once in Norse mythology , to extend the program.
Lóðurr is a god in Norse mythology. In the Poetic Edda poem Völuspá he is assigned a role in animating the first humans, but apart from that he is hardly ever mentioned, and remains obscure. Scholars have variously identified him with Loki, Vé, Vili and Freyr, but consensus has not been reached on any one theory.
The interesting problem arises when you take the old English letters (and one could ask the interesting question, these are really English letters are they not.) how do you show these letters using a format statement in Fortran on a Console or is that impossible.
I knew you would know the answer.
(I got a note on the MKL forum from a Intel guy about my comments about PARDISO and FEAST. - Thanks - I am not sure he understood what I meant - but I tried.)
A typical console application is limited to characters in the "code page" it uses - the default code page is quite limited. Formatted output to the console will be similarly limited.
It is possible to change the code page and also to write Unicode directly to the console. Here are some links that may be of interest:
program character_kind use iso_fortran_env implicit none integer, parameter :: ascii = selected_char_kind ("ascii") integer, parameter :: ucs4 = selected_char_kind ('ISO_10646') character(kind=ascii, len=26) :: alphabet character(kind=ucs4, len=30) :: hello_world alphabet = ascii_"abcdefghijklmnopqrstuvwxyz" hello_world = ucs4_'Hello World and Ni Hao -- ' & // char (int (z'4F60'), ucs4) & // char (int (z'597D'), ucs4) write (*,*) alphabet open (output_unit, encoding='UTF-8') write (*,*) trim (hello_world) end program character_kind
So if I read my manual correctly Intel does not support UTF-8 or the ISO standard - this program is from GNU Fortran
Intel Fortran doesn't yet support other character kinds. The standard does not require support for ISO_10646.
UTF-8 is the default (and only supported specific) value for ENCODING.
How do the Japanese users of IF do Kanji?
No sweat it was just an interesting question - can live without it
DISLIN now works well in the program thanks
Error 1 general error c101008d: Failed to write the updated manifest to the resource of file "C:\Users\macne\Documents\Visual Studio 2013\Projects\Program070 - Beams\L??urr\Debug\L??urr.exe". The system cannot open the device or file specified. mt.exe
It tells me on compile that there is a manifest error - but the program did compile and will run - is this because I used the funny characters or because I put in DISLIN - or you are as lost in the wilderness as I am?
I took out all of the funny symbols - and the Manifest is still causing problems, so I switched off generate the manifest - will that hurt.
I had to do the same thing with the Strand7 API program - the first call into the API.DLL failed --- I love this job
Also if I am in VS 2015 and I type use ____ I get a exception screen that can get repeated a lot - it is a popup window - I know next time I will get a screen shot.