Annotation of freem/mlib/%SYSOOP.m, revision 1.2
1.2 ! snw 1: %SYSOOP ;VCL/SNW-OO SUBROUTINES; 03/09/25 06:24 PM
! 2: ;0.0;FreeM;****FREEM**;Serena Willis @2025
! 3: ;
! 4: ; $Id$
! 5: ; OO Subroutines
! 6: ;
! 7: ;
! 8: ; Author: Serena Willis <snw@coherent-logic.com>
! 9: ; Copyright (C) 1998 MUG Deutschland
! 10: ; Copyright (C) 2023, 2025 Coherent Logic Development LLC
! 11: ;
! 12: ;
! 13: ; This file is part of FreeM.
! 14: ;
! 15: ; FreeM is free software: you can redistribute it and/or modify
! 16: ; it under the terms of the GNU Affero Public License as published by
! 17: ; the Free Software Foundation, either version 3 of the License, or
! 18: ; (at your option) any later version.
! 19: ;
! 20: ; FreeM is distributed in the hope that it will be useful,
! 21: ; but WITHOUT ANY WARRANTY; without even the implied warranty of
! 22: ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 23: ; GNU Affero Public License for more details.
! 24: ;
! 25: ; You should have received a copy of the GNU Affero Public License
! 26: ; along with FreeM. If not, see <https://www.gnu.org/licenses/>.
! 27: ;
! 28: ; $Log$
! 29: ;
! 30: ; SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC
! 31: ; SPDX-License-Identifier: AGPL-3.0-or-later
1.1 snw 32: QUIT
33: DESTROY(CLASS,INST)
34: N FNC S FNC="DESTROY^"_CLASS_"(.INST)"
35: S $ZTRAP="TRYLOW^%SYSOOP"
36: D @FNC
37: G ALLDONE
38: TRYLOW ;
39: S $ZTRAP="TRYPASC^%SYSOOP"
40: S FNC="destroy^"_CLASS_"(.INST)"
41: D @FNC
42: G ALLDONE
43: TRYPASC ;
44: S $ZTRAP="ALLDONE^%SYSOOP"
45: S FNC="Destroy^"_CLASS_"(.INST)"
46: D @FNC
47: G ALLDONE
48: ALLDONE ;
49: S $ZTRAP=""
50: K INST
51: QUIT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>