Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/openmath/tst/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 25.1.2023 mit Größe 2 kB image not shown  

Quelle  test6.omt   Sprache: unbekannt

 
<!-- CD="cas" test -->

<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="assign"/>
  <OMSTR>a</OMSTR>
  <OMI> 1 </OMI>
 </OMA>
</OMOBJ>


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="retrieve"/>
  <OMSTR>a</OMSTR>
 </OMA>
</OMOBJ>



<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>a := 3;</OMSTR>
 </OMA>
</OMOBJ>


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>Size([1,2,3]);</OMSTR>
 </OMA>
</OMOBJ>




<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>quit;</OMSTR>
 </OMA>
</OMOBJ>



<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_error"/>
 </OMA>
</OMOBJ>


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_output"/>
 </OMA>
</OMOBJ>



<!-- character table examples -->

<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>c := CharacterTable("V4");</OMSTR>
 </OMA>
</OMOBJ>


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="retrieve"/>
  <OMSTR>c</OMSTR>
 </OMA>
</OMOBJ>


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>c := CharacterTable("S3");</OMSTR>
 </OMA>
</OMOBJ>

<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>c := CharacterTable("fooey);</OMSTR>
 </OMA>
</OMOBJ>

<!-- this tests the security feature -->
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>c := READ("fooey");</OMSTR>
 </OMA>
</OMOBJ>

<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="native_statement"/>
  <OMSTR>c := CharacterTable("fooey");</OMSTR>
 </OMA>
</OMOBJ>


<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="retrieve"/>
  <OMSTR>c</OMSTR>
 </OMA>
</OMOBJ>



<!-- end character table examples -->



<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
  <OMA>
    <OMS cd="cas" name="quit"/>
 </OMA>
</OMOBJ>



[ Dauer der Verarbeitung: 0.26 Sekunden  (vorverarbeitet)  ]