diff options
author | dos-reis <gdr@axiomatics.org> | 2011-08-10 02:33:46 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-08-10 02:33:46 +0000 |
commit | 0a0661e0c50e9c3e160d54b8e0a5b891d419e2bc (patch) | |
tree | 42ef806af61677a355623104e7ef3d35ecbbaedb /src/algebra/string.spad.pamphlet | |
parent | f1a4ca4eb786bfb440fd537d06a25264b0596369 (diff) | |
download | open-axiom-0a0661e0c50e9c3e160d54b8e0a5b891d419e2bc.tar.gz |
* interp/setvart.boot: Remoe OpenMath description.
* interp/setvars.boot (setOutputOpenMath): Remove.
(describeOutputOpenMath): Likewise.
* algebra/Makefile.in (axiom_algebra_layer_14): Don't include OMSERVER.
* algebra/float.spad.pamphlet (Float): Remove OpenMath exports.
* algebra/fraction.spad.pamphlet (Fraction): Likewise.
* algebra/gaussian.spad.pamphlet (Complex): Likewise.
* algebra/integer.spad.pamphlet (Integer): Likewise.
* algebra/list.spad.pamphlet (List): Likewise.
* algebra/sf.spad.pamphlet (DoubleFloat): Likewise.
* algebra/si.spad.pamphlet (SingleInteger): Likewise.
* algebra/string.spad.pamphlet (String): Likewise.
* algebra/symbol.spad.pamphlet (Symbol): Likewise.
Diffstat (limited to 'src/algebra/string.spad.pamphlet')
-rw-r--r-- | src/algebra/string.spad.pamphlet | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/algebra/string.spad.pamphlet b/src/algebra/string.spad.pamphlet index 2271f92b..6ad08dc3 100644 --- a/src/algebra/string.spad.pamphlet +++ b/src/algebra/string.spad.pamphlet @@ -493,7 +493,7 @@ the coercion. MINSTRINGINDEX ==> 1 -- as of 3/14/90. String(): Public == Private where - Public == Join(StringAggregate(), OpenMath) with + Public == StringAggregate with string: Integer -> % ++ \spad{string i} returns the decimal representation of ++ \spad{i} in a string @@ -505,42 +505,6 @@ String(): Public == Private where string(n: Integer) == %i2s n string(f: DoubleFloat) == %f2s(f)$Foreign(Builtin) - OMwrite(x: %): String == - s: String := "" - sp := OM_-STRINGTOSTRINGPTR(s)$Lisp - dev: OpenMathDevice := OMopenString(sp pretend String, OMencodingXML()) - OMputObject(dev) - OMputString(dev, x pretend String) - OMputEndObject(dev) - OMclose(dev) - s := OM_-STRINGPTRTOSTRING(sp)$Lisp pretend String - s - - OMwrite(x: %, wholeObj: Boolean): String == - s: String := "" - sp := OM_-STRINGTOSTRINGPTR(s)$Lisp - dev: OpenMathDevice := OMopenString(sp pretend String, OMencodingXML()) - if wholeObj then - OMputObject(dev) - OMputString(dev, x pretend String) - if wholeObj then - OMputEndObject(dev) - OMclose(dev) - s := OM_-STRINGPTRTOSTRING(sp)$Lisp pretend String - s - - OMwrite(dev: OpenMathDevice, x: %): Void == - OMputObject(dev) - OMputString(dev, x pretend String) - OMputEndObject(dev) - - OMwrite(dev: OpenMathDevice, x: %, wholeObj: Boolean): Void == - if wholeObj then - OMputObject(dev) - OMputString(dev, x pretend String) - if wholeObj then - OMputEndObject(dev) - @ \section{License} |