user_guide:tutorials:legacy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:legacy [2017/03/24 13:04] – created extra tutorial for references to older versions. oroehriguser_guide:tutorials:legacy [2019/02/11 16:41] – ↷ Page moved from user_guide:howto:legacy to user_guide:tutorials:legacy oroehrig
Line 10: Line 10:
 polytope > $f = new Integer(1); polytope > $f = new Integer(1);
  
-polytope > for ($i = new Integer(100); $i>0; --$i) { $f *= $i; }+polytope > for (my $i = new Integer(100); $i>0; --$i) { $f *= $i; }
  
 polytope > print $f; polytope > print $f;
Line 37: Line 37:
  
 <code> <code>
-polymake cube.poly N_FACETS+polymake cube.poly N_FACETS 
 +</code> 
 +<code>
 N_FACETS N_FACETS
 6 6
Line 49: Line 51:
  
 <code> <code>
-polymake 'save(cube(3),"c3.poly")'+polymake 'save(cube(3),"c3.poly")'
 </code> </code>
  
 A word of warning: It was rarely legal but always popular to edit files that ''polymake'' worked on with an ASCII text processor.  This is still possible (if you know what you are doing), but in addition to the caveats previously in place (which are still valid) you have to pay attention to producing valid XML. A word of warning: It was rarely legal but always popular to edit files that ''polymake'' worked on with an ASCII text processor.  This is still possible (if you know what you are doing), but in addition to the caveats previously in place (which are still valid) you have to pay attention to producing valid XML.
  • user_guide/tutorials/legacy.txt
  • Last modified: 2019/02/11 16:42
  • by oroehrig