Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/io.c

    ra6151ba rcb91437  
    1010// Created On       : Wed Mar  2 16:56:02 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul  5 18:29:23 2016
    13 // Update Count     : 31
     12// Last Modified On : Tue Mar 21 22:36:06 2017
     13// Update Count     : 48
    1414//
    1515
     
    6262
    6363        sepSet( sout, ", $" );                                                                          // change separator, maximum of 15 characters
    64         sout | f | d | ld | endl                                                                        // floating point without separator
    65                  | fc | dc | ldc | endl                                                                 // complex without separator
     64        sout | f | d | ld | endl
     65                 | fc | dc | ldc | endl
    6666                 | s1 | s2 | endl;
    6767        sout | endl;
     
    7474                | "v{" | 27
    7575                | "$" | 27
     76                | "=" | 27
    7677                | "£" | 27
    7778                | "¥" | 27
     
    8788                | 25 | "!"
    8889                | 25 | "?"
     90                | 25 | "%"
     91                | 25 | "¢"
     92                | 25 | "»"
    8993                | 25 | ")"
    9094                | 25 | "]"
    9195                | 25 | "}"
    92                 | 25 | "%"
    93                 | 25 | "¢"
    94                 | 25 | "»"
    9596                | endl
    9697                // opening-closing delimiters
     
    105106                | 25 | "\v" | 27
    106107                | endl;
     108
     109        [int, int, const char *, double] t = { 3, 4, "a", 7.2 };
     110        sout | [ 3, 4, "a", 7.2 ] | endl;
     111        sout | t | endl;
     112        sepSetTuple( sout, " " );
     113        sout | t | endl;
     114        sout | sepOn | t | sepDisable | t | sepEnable | t | endl;
     115        sepSet( sout, "^" );
     116        sepSetTuple( sout, "-" );
     117        sout | t | 3 | 4 | t | endl;
    107118}
    108119
Note: See TracChangeset for help on using the changeset viewer.