|
From: | Ben Pfaff |
Subject: | Re: numerical error handling in SPSS matrix language |
Date: | Mon, 8 Nov 2021 07:08:27 -0800 |
Ben,
Is it this what you need?
matrix.
print ln(0).
end matrix.
Run MATRIX procedure:
>Error encountered in source line # 30
>Error # 12386
>Value for LN is out of range.
>Execution of this command stops.
------ END MATRIX -----
Best, Markus
Von: Pspp-users <pspp-users-bounces+markus.quandt=gesis.org@gnu.org> Im Auftrag von Ben Pfaff
Gesendet: Samstag, 6. November 2021 19:28
An: pspp-users <pspp-users@gnu.org>
Betreff: numerical error handling in SPSS matrix language
I've implemented most of the SPSS matrix language and I'm now working
on leftover pieces such as testing and documentation. One thing that's
come up, that SPSS does not document, is how numerical errors are
handled. Can anyone tell me what, for example, the following would do
in SPSS?
MATRIX.
PRINT LN(0).
END MATRIX.
[Prev in Thread] | Current Thread | [Next in Thread] |