From: Christian Bauer Date: Wed, 22 Aug 2001 16:10:59 +0000 (+0000) Subject: updated my_print2(): every find*() method of archive_node accepts an "index" X-Git-Tag: release_0-9-4~12 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=4361bc1ddd47fc23d36c061e1daa9b583de98be0 updated my_print2(): every find*() method of archive_node accepts an "index" parameter --- diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index 7cb3dd40..3e0256b9 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -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; @}