/************************************************************************************ a2.base Representation of numbers in a base, including reprinting. Should display 3 output text fields, with the hex values "ab", "cd", "ef". Check program.print to ensure reprints properly. ************************************************************************************/ path opd1[ 8 ]; path opd2[ 8 ]; path opd3[ 8 ]; literal( 8, 0b10101011 ){ out opd1 }; literal( 8, 205 ){ out opd2 }; literal( 8, 0xef ){ out opd3 }; { in opd1 }output( "ab", 10, 50, 16, 8 ); { in opd2 }output( "cd", 10, 100, 16, 8 ); { in opd3 }output( "ef", 10, 150, 16, 8 );