Mercurial > hg > octave-nkf
comparison src/pt-mat.cc @ 3361:4f40efa995c1
[project @ 1999-11-19 21:19:37 by jwe]
author | jwe |
---|---|
date | Fri, 19 Nov 1999 21:19:44 +0000 |
parents | 15cddaacbc2d |
children | 9db3ff0b6913 |
comparison
equal
deleted
inserted
replaced
3360:48bd8127e19b | 3361:4f40efa995c1 |
---|---|
627 \n\ | 627 \n\ |
628 The default value is @code{\"warn\"}.\n\ | 628 The default value is @code{\"warn\"}.\n\ |
629 @end defvr"); | 629 @end defvr"); |
630 | 630 |
631 DEFVAR (implicit_num_to_str_ok, 0.0, implicit_num_to_str_ok, | 631 DEFVAR (implicit_num_to_str_ok, 0.0, implicit_num_to_str_ok, |
632 "make the result of things like `[97, 98, 99, \"123\"]' be a string"); | 632 "-*- texinfo -*-\n\ |
633 @defvr {Built-in Variable} implicit_num_to_str_ok\n\ | |
634 If the value of @code{implicit_num_to_str_ok} is nonzero, implicit\n\ | |
635 conversions of numbers to their ASCII character equivalents are\n\ | |
636 allowed when strings are constructed using a mixture of strings and\n\ | |
637 numbers in matrix notation. Otherwise, an error message is printed and\n\ | |
638 control is returned to the top level. The default value is 0. For\n\ | |
639 example,\n\ | |
640 \n\ | |
641 @example\n\ | |
642 @group\n\ | |
643 [ \"f\", 111, 111 ]\n\ | |
644 @result{} \"foo\"\n\ | |
645 @end group\n\ | |
646 @end example\n\ | |
647 @end defvr") | |
633 | 648 |
634 DEFVAR (string_fill_char, " ", string_fill_char, | 649 DEFVAR (string_fill_char, " ", string_fill_char, |
635 "the character to fill with when creating string arrays."); | 650 "-*- texinfo -*-\n\ |
651 @defvr {Built-in Variable} string_fill_char\n\ | |
652 The value of this variable is used to pad all strings in a string matrix\n\ | |
653 to the same length. It should be a single character. The default value\n\ | |
654 is @code{\" \"} (a single space). For example,\n\ | |
655 \n\ | |
656 @example\n\ | |
657 @group\n\ | |
658 string_fill_char = \"X\";\n\ | |
659 [ \"these\"; \"are\"; \"strings\" ]\n\ | |
660 @result{} \"theseXX\"\n\ | |
661 \"areXXXX\"\n\ | |
662 \"strings\"\n\ | |
663 @end group\n\ | |
664 @end example\n\ | |
665 @end defvr") | |
666 | |
636 } | 667 } |
637 | 668 |
638 /* | 669 /* |
639 ;;; Local Variables: *** | 670 ;;; Local Variables: *** |
640 ;;; mode: C++ *** | 671 ;;; mode: C++ *** |