Author |
Message |
Topic: Reading text from a bmp file |
christyleomin
Replies: 4
Views: 7789
|
Forum: General Posted: Mon Jul 06, 2015 11:06 pm Subject: |
Eagerly looking forward for some help, Sirs  |
Topic: Reading text from a bmp file |
christyleomin
Replies: 4
Views: 7789
|
Forum: General Posted: Mon Jul 06, 2015 8:45 pm Subject: Reading text from a bmp file |
I'm trying to automate something.
As a first step, I have a bitmap file - like the one in the link below
https://files.staehleprecision.com/Heidenhain/LS703704replacement/Scale%20Drawings/
I ... |
Topic: Character variable |
christyleomin
Replies: 1
Views: 5175
|
Forum: General Posted: Sat Sep 13, 2014 1:55 pm Subject: Character variable |
Can I declare variable (which can have upto 3000 characters) as below:
character*4000 my_variable |
Topic: FORTRAN writing to back storage file |
christyleomin
Replies: 6
Views: 9861
|
Forum: General Posted: Thu Mar 06, 2014 9:10 am Subject: |
I'm not getting a runtime error. I will be trying with FTN 95 only next week.
All this old code needs to work with FTN 95 finally
I have a 2011 version of FORTRAN intel compiler and it works wit ... |
Topic: FORTRAN writing to back storage file |
christyleomin
Replies: 6
Views: 9861
|
Forum: General Posted: Thu Mar 06, 2014 8:45 am Subject: |
My question is where is this getting written into? |
Topic: FORTRAN writing to back storage file |
christyleomin
Replies: 6
Views: 9861
|
Forum: General Posted: Thu Mar 06, 2014 7:29 am Subject: |
Also: I do not find where the file is opened. |
Topic: FORTRAN writing to back storage file |
christyleomin
Replies: 6
Views: 9861
|
Forum: General Posted: Thu Mar 06, 2014 7:24 am Subject: FORTRAN writing to back storage file |
Can anyone help me to understand what is a back storage file in FORTRAN to which I write statements with unit 3 like
write(3) my_number
my_number may eb some integer/real
I am trying ... |
Topic: Converting integer vector to character |
christyleomin
Replies: 9
Views: 11951
|
Forum: General Posted: Fri Feb 28, 2014 9:20 am Subject: |
I tried the following for converting integer to character amd vice versa. It works.Any comments?
subroutine c2i(nchars,chars,iarray)
c
c to convert character to integer vector
c
... |
Topic: Converting integer vector to character |
christyleomin
Replies: 9
Views: 11951
|
Forum: General Posted: Thu Feb 27, 2014 10:08 am Subject: |
Thanks, it worked.
I also need to convert character string to integer witht eh following but it didn't work. Any tips?
Integer x
Character(50) xstring
xstring = ... |
Topic: Converting integer vector to character |
christyleomin
Replies: 9
Views: 11951
|
Forum: General Posted: Thu Feb 27, 2014 5:50 am Subject: Converting integer vector to character |
Is there any FORTRAN intrinsic that converts integer vector to character?
Soemthing like
c on entry:
c no_chars no. of characters
c my_array integer array
c
c on return:
c ... |
Topic: Array sizes question during subroutine calls |
christyleomin
Replies: 13
Views: 16049
|
Forum: General Posted: Fri Feb 14, 2014 1:20 pm Subject: |
Hi John,
Please see my post immediately above this as well..I'm facing a peculiar problem. There are times my code compiles/builds without any issues/problems (having used above approach).
But t ... |
Topic: Array sizes question during subroutine calls |
christyleomin
Replies: 13
Views: 16049
|
Forum: General Posted: Fri Feb 14, 2014 5:35 am Subject: |
Thanks...I know it is not a good coding ethic.
I have a huge pice of code that needs to eb understood and upgraded.
Why do you say "asking for trouble"? Is it incorrect to pass an allo ... |
Topic: Array sizes question during subroutine calls |
christyleomin
Replies: 13
Views: 16049
|
Forum: General Posted: Thu Feb 13, 2014 9:50 am Subject: |
I trried this bit of code and it works fine (even in Fortran90)
That is, all changes done in subroutine checktopo_1 below are refelected correctly in TOPOLOGY array (in the write statement after th ... |
Topic: Array sizes question during subroutine calls |
christyleomin
Replies: 13
Views: 16049
|
Forum: General Posted: Tue Feb 11, 2014 4:49 am Subject: |
Thanks John..
Yes, I'm taking care of iret.
Yes, crtem is allocated as you said :
ALLOCATE ( crterm(iramp,5) )
Now, again there is a problem of passing an allocatable array as argument, i ... |
Topic: Array sizes question during subroutine calls |
christyleomin
Replies: 13
Views: 16049
|
Forum: General Posted: Mon Feb 10, 2014 1:43 pm Subject: |
If crtem is actually an allocatable array, then how do wee deal with it. I do not want temp1 to be local in A_temp3 . Is it possible? |
|