release 1.12.1
[descalc.git] / 33_trig.pm
index 7736e2d71d16089d61c088967206c8d8142ad915..fbfd46af7df57f460b85f8ddbb91bf8d7a348870 100644 (file)
@@ -1,5 +1,6 @@
 # trigonometry for DCT, by Shiar
 
+# 1.11.2 200411032120 - check for menu module before addmenu()
 # 1.11.1 200410282330 - cardial mode setting; rad/deg to switch to radians/degrees
 #                     - convert from/to radians for trig commands if rad mode set
 # 1.11.0 200410152320 - a?(sin|cos|tan)h? actions from math; links in main submenu trig
@@ -51,11 +52,11 @@ addmenu(["main", 0], "trig", #todo: in math, not in main
        qw(sin cos tan asin acos atan),
        qw(sinh cosh tanh asinh acosh atanh),
        qw(expm lnp1),
-);
+) if defined &addmenu;
 
 return {
        author  => "Shiar",
        title   => "trigonometry",
-       version => "1.11.1",
+       version => "1.11.2",
 };