I need to look for the presence of '////' in my data file(adsbygoogle = window.adsbygoogle || []).push({});

i could read it as character

since i need to eliminate them from the file,

I've tried to avoid them using

if(xx .eq. '////') then

but is not working the error comes as

if(mt.ne. '////')then

Equality operator at (1) must operate on two scalar (not array) subexpressions, two function invocations returning arithmetic or character scalars, or a combination of both --

but the subexpression at (2)(it '////') is an array

how to achieve what im thinking?

Can somebody help me in this regard

thanks in advance

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fortran locate symbol in data file

Loading...

Similar Threads for Fortran locate symbol |
---|

Fortran Successive Over Relaxation Method in FORTRAN |

If statement for Monte Carlo integration |

C/++/# How to use C++ in studying calculus |

Fortran How to buy Fortran Programming Software Commersial License |

Fortran Fortran for Computational Fluid Dynamics Problems |

**Physics Forums | Science Articles, Homework Help, Discussion**