Skip to Content
0
Jan 18, 2011 at 10:08 AM

built-in function 'lines' - cost

183 Views

Hi,

Does anyone know the internals or the cost of the built-in function 'lines'?

I'm wondering if it just returns readily available value or has to do some computations on underlying data structures.

The reason I'm asking is that I want to use the return value of 'lines' more than once and I'm not sure if it makes sense to store it into local variable or just use it inline.

IF lines( itab) = xxx.

elseif lines(itab) === yyy.

else.

In other languages there are usually some properties on the array objects which can be directly used without any overhead. Is it the same here?