updated my_print2(): every find*() method of archive_node accepts an "index"
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 22 Aug 2001 16:10:59 +0000 (16:10 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 22 Aug 2001 16:10:59 +0000 (16:10 +0000)
parameter

doc/tutorial/ginac.texi

index 7cb3dd4..3e0256b 100644 (file)
@@ -4323,19 +4323,19 @@ static void my_print2(const archive_node & n)
             switch (p[i].type) @{
                 case archive_node::PTYPE_BOOL: @{
                     bool x;
-                    n.find_bool(name, x);
+                    n.find_bool(name, x, j);
                     cout << (x ? "true" : "false");
                     break;
                 @}
                 case archive_node::PTYPE_UNSIGNED: @{
                     unsigned x;
-                    n.find_unsigned(name, x);
+                    n.find_unsigned(name, x, j);
                     cout << x;
                     break;
                 @}
                 case archive_node::PTYPE_STRING: @{
                     string x;
-                    n.find_string(name, x);
+                    n.find_string(name, x, j);
                     cout << '\"' << x << '\"';
                     break;
                 @}