"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/common/help.c" between
wcalc-2.4.1.tar.gz and wcalc-2.5.tar.gz

About: Wcalc is a natural-expression command-line calculator.

help.c  (wcalc-2.4.1):help.c  (wcalc-2.5)
skipping to change at line 19 skipping to change at line 19
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
#endif #endif
/* System Headers */ /* System Headers */
#include <stdio.h> #include <stdio.h>
/* Internal Headers */ /* Internal Headers */
#include "definitions.h" #include "definitions.h"
#include "help.h" #include "output.h"
void print_interactive_help (void) void display_interactive_help (void)
{/*{{{*/ {/*{{{*/
printf("Wcalc "PACKAGE_VERSION " by Kyle Wheeler.\nVersion 0.1.x written in C++ for CS240C at Ohio University, Jan 14 2000\n"); printf("Wcalc "PACKAGE_VERSION " by Kyle Wheeler.\nVersion 0.1.x written in C++ for CS240C at Ohio University, Jan 14 2000\n");
printf("Version 0.2.x rewritten for lex/yacc in C, Nov 25 2001\n"); printf("Version 0.2.x rewritten for lex/yacc in C, Nov 25 2001\n");
printf("Version 0.3.x released under GPL, Jan 2003\n"); printf("Version 0.3.x released under GPL, Jan 2003\n");
printf("This calculator recognizes the following symbols:\n" printf("This calculator recognizes the following symbols:\n"
SUPPORTED_SYMBOLS SUPPORTED_SYMBOLS
"\nThe following commands are supported:\n" "\nThe following commands are supported:\n"
"\\p \\bitsX \\e \\eng \\engineering \\q \\help " "\\p \\bitsX \\e \\eng \\engineering \\q \\help "
"\\prefs " "\\prefs "
"\\cons \\conservative\n" "\\cons \\conservative\n"
skipping to change at line 68 skipping to change at line 68
"whenever the variable is used.\n" "whenever the variable is used.\n"
"\"a\" is a reserved variable that represents the previous answer.\n\ n" "\"a\" is a reserved variable that represents the previous answer.\n\ n"
"Detail about any command, symbol, or variable can be gotten by \\exp lain'ing it.\n" "Detail about any command, symbol, or variable can be gotten by \\exp lain'ing it.\n"
"\n" "\n"
"This calculator accepts input in decimal (1.00), scientific notation (1.0e5),\n" "This calculator accepts input in decimal (1.00), scientific notation (1.0e5),\n"
"octal (088), hexadecimal (0xff), and binary (0b11).\n\n" "octal (088), hexadecimal (0xff), and binary (0b11).\n\n"
"Comments (ignored expressions) are either between /* and */ or\n" "Comments (ignored expressions) are either between /* and */ or\n"
"after a // or #\n"); "after a // or #\n");
}/*}}}*/ }/*}}}*/
void print_command_help (void) void display_command_help (void)
{/*{{{*/ {/*{{{*/
printf("Wcalc "PACKAGE_VERSION " by Kyle Wheeler.\n"); printf("Wcalc "PACKAGE_VERSION " by Kyle Wheeler.\n");
printf("Version 0.1.x written in C++ for CS240C at Ohio University, Jan 14 2 000\n"); printf("Version 0.1.x written in C++ for CS240C at Ohio University, Jan 14 2 000\n");
printf("Version 0.2.x rewritten for lex/yacc in C, Nov 25 2001\n\n"); printf("Version 0.2.x rewritten for lex/yacc in C, Nov 25 2001\n\n");
printf("This calculator recognized the following symbols:\n" printf("This calculator recognized the following symbols:\n"
SUPPORTED_SYMBOLS SUPPORTED_SYMBOLS
"\nThe ! is factorial or boolean, depending on use.\n" "\nThe ! is factorial or boolean, depending on use.\n"
"Spaces are ignored (unknown symbols cause errors or are treated as v ariables)\n" "Spaces are ignored (unknown symbols cause errors or are treated as v ariables)\n"
"This calculator accepts input in decimal (1.00), scientific notation (1.0e5),\n" "This calculator accepts input in decimal (1.00), scientific notation (1.0e5),\n"
"octal (088), hexadecimal (0xff), and in binary (0b11).\n\n" "octal (088), hexadecimal (0xff), and in binary (0b11).\n\n"
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS