]> www.ginac.de Git - ginac.git/blobdiff - doc/tutorial/ginac.texi
updated my_print2(): every find*() method of archive_node accepts an "index"
[ginac.git] / doc / tutorial / ginac.texi
index 7cb3dd40cc7ce9d6e15690c63ea4659bf6591fac..3e0256b9a448900fd81d675e68b79421a3991fae 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;
                 @}