Hi
Can some one please tell me what I am doing wrong, I have entered the code as below but I don't seem to be getting anything in the line variable it comes back blank
else if ( des == "86" ) {
getline line < "temp86.$$"
if ( FILENAME ~ /mdata/ ) {
if ( allofit == line ) {
m86tot = substr(allofit,43,10)
}
}
else if ( FILENAME ~ /udata/ ) {
if ( allofit == line ) {
u86tot = substr(allofit,43,10)
}
}
}
[sig][/sig]
Can some one please tell me what I am doing wrong, I have entered the code as below but I don't seem to be getting anything in the line variable it comes back blank
else if ( des == "86" ) {
getline line < "temp86.$$"
if ( FILENAME ~ /mdata/ ) {
if ( allofit == line ) {
m86tot = substr(allofit,43,10)
}
}
else if ( FILENAME ~ /udata/ ) {
if ( allofit == line ) {
u86tot = substr(allofit,43,10)
}
}
}
[sig][/sig]