Returns the total number of samples in a worksheet.
WSSIZE(W1, W2, ... Wn, bytes)
Wn |
- |
Optional, Zero or more Windows. Defaults to all windows in the worksheet. |
||||
bytes |
- |
Optional. An integer, the byte size flag.
|
An integer, the total number of samples or bytes used by the current worksheet.
newworksheet(4);
W1 := {1, 2, 4, 7}
W2 := fft(w1)
wssize()
returns 8, the total number of samples in the worksheet.
newworksheet(4);
W1 := {1, 2, 4, 7}
W2 := fft(w1)
wssize(1)
returns 96, the total number of bytes in the worksheet.
newworksheet(4);
W1 := {1, 2, 4, 7}
W2 := fft(w1)
wssize(w2, 1)
returns 64, the total number of bytes in W2. W2 contains 4 complex values where each value is 16 bytes.
newworksheet(4);
W1 := {1, 2, 4, 7}
W2 := fft(w1)
wssize(w3, w4)
returns 0, since neither W3 nor W4 contains a series.
WSSIZE returns the total number of data samples in a worksheet.
All windows are processed including hidden windows.
If bytes is nonzero, the total number of data bytes is returned.