In reply to Deepthip:
No one can help you without seeing any code. You should be able to write a small example that demonstrates what you are trying to do. What do you expect to happen if you pass an actual array of reals to a function that only takes a single real number as a formal argument.