aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/omserver.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/omserver.spad.pamphlet')
-rw-r--r--src/algebra/omserver.spad.pamphlet6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/algebra/omserver.spad.pamphlet b/src/algebra/omserver.spad.pamphlet
index 6d42d430..cd09ad27 100644
--- a/src/algebra/omserver.spad.pamphlet
+++ b/src/algebra/omserver.spad.pamphlet
@@ -47,12 +47,12 @@ OpenMathServerPackage(): with
OMreceive(conn: OpenMathConnection): Any ==
dev: OpenMathDevice := OMconnInDevice(conn)
- OMsetEncoding(dev, OMencodingUnknown);
+ OMsetEncoding(dev, OMencodingUnknown());
OMread(dev)
OMsend(conn: OpenMathConnection, value: Any): Void ==
dev: OpenMathDevice := OMconnOutDevice(conn)
- OMsetEncoding(dev, OMencodingXML);
+ OMsetEncoding(dev, OMencodingXML());
--retractable?(value)$AnyFunctions1(Expression Integer) =>
-- OMwrite(dev, retract(value)$AnyFunctions1(Expression Integer), true)
retractable?(value)$AnyFunctions1(Integer) =>
@@ -79,6 +79,8 @@ OpenMathServerPackage(): with
<<license>>=
--Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
--All rights reserved.
+-- Copyright (C) 2007-2010, Gabriel Dos Reis.
+-- All rights reserved.
--
--Redistribution and use in source and binary forms, with or without
--modification, are permitted provided that the following conditions are