SmallProgram
Programmer
Iam using a Function call which takes arguments,from a Program. When Iam sending the arguments the arguments are overlapping on Each other.
This is the problem.
Function call :
Character*22 abc(E,F,G,H)
charcter*6 E
charcter*4 F
Integer*2 H
charcter*2 G
Iam Calling the Function like this
abc("Mall","ika",23,"PS")
When Iam Examining the Variables E,F,G,H Iam getting these values.
E : Mallik
F : ikaP
G : 23
H : PS
Whereas I want
E: "Mall"
F: "ika"
G: 23
H: PS
Iam using Fortran77 in VMS Environment.
Can somebody Resolve this issue
This is the problem.
Function call :
Character*22 abc(E,F,G,H)
charcter*6 E
charcter*4 F
Integer*2 H
charcter*2 G
Iam Calling the Function like this
abc("Mall","ika",23,"PS")
When Iam Examining the Variables E,F,G,H Iam getting these values.
E : Mallik
F : ikaP
G : 23
H : PS
Whereas I want
E: "Mall"
F: "ika"
G: 23
H: PS
Iam using Fortran77 in VMS Environment.
Can somebody Resolve this issue