1/22/2007 7:17 AM | |
Posts: 2348 Rating: (264) |
Is this array really temp? If so, then you have to fill it to find average. So during filling procedure you can also calculate average as avg_value :=avg_value+myValue/eMax. If it's not temp (so fill it outside of this function) you can do this with ANY pointers https://support.automation.siemens.com/WW/llisapi.dll?query=ANY+pointer&func=cslib.cssearch&content=skm%2Fmain.asp&lang=en&siteid=cseus&objaction=cssearch&searchinprim=0&nodeid0=4000024&x=0&y=0 |
Follow us on