amath  1.8.5
Simple command line calculator
console.cpp File Reference
#include "amath.h"
#include "amathc.h"
#include "console.h"
#include "program.h"
#include "loc/text.h"
Include dependency graph for console.cpp:

Go to the source code of this file.

Variables

static const char * version = TXTVERSMSG
 
static const char * compiler = TXTCOMPMSG
 
static const char * about
 
static const char * help
 
static const char * copyright
 
static const char * license
 
static const char * footer = "Specific details should be found in the source files."
 

Variable Documentation

◆ about

const char* about
static
Initial value:
"amath features a case sensitive command line interface, internal IEEE 754" NEWLINE
"calculations with 15 significant digits, calculations with real and complex" NEWLINE
"numbers, variables and user defined functions, logarithmic and exponential" NEWLINE
"functions, trigonometric and hyperbolic function and selected mathematical" NEWLINE
"constants and rounding functions." NEWLINE
#define NEWLINE
Definition: amath.h:222

Definition at line 38 of file console.cpp.

Referenced by ConsoleBase::ShowAbout().

◆ compiler

const char* compiler = TXTCOMPMSG
static

◆ copyright

const char* copyright
static
Initial value:
=
"Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>"

Definition at line 46 of file console.cpp.

Referenced by ConsoleBase::ShowLicense().

◆ footer

const char* footer = "Specific details should be found in the source files."
static

Definition at line 73 of file console.cpp.

Referenced by ConsoleBase::ShowLicense().

◆ help

const char* help
static
Initial value:
=
"usage: amath [ --noansi ] [ --shell | expression ]" NEWLINE
#define NEWLINE
Definition: amath.h:222

Definition at line 44 of file console.cpp.

Referenced by ConsoleBase::ShowHelp().

◆ license

const char* license
static
Initial value:
=
"Copyright (c) 2007 The NetBSD Foundation, Inc." NEWLINE
"Copyright (c) 1990, 1993 The Regents of the University of California." NEWLINE
"All rights reserved." NEWLINE NEWLINE
"This code is derived from software written by Stephen L. Moshier." NEWLINE
"It is redistributed by the NetBSD Foundation by permission of the author." NEWLINE NEWLINE
"This code is derived from software contributed to Berkeley by" NEWLINE
"Mike Hibler and Chris Torek." NEWLINE NEWLINE
"Redistribution and use in source and binary forms, with or without" NEWLINE
"modification, are permitted provided that the following conditions are met:" NEWLINE NEWLINE
"* Redistributions of source code must retain the above copyright notice, this" NEWLINE
" list of conditions and the following disclaimer." NEWLINE NEWLINE
"* Redistributions in binary form must reproduce the above copyright notice," NEWLINE
" this list of conditions and the following disclaimer in the documentation" NEWLINE
" and/or other materials provided with the distribution." NEWLINE NEWLINE
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"" NEWLINE
"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE" NEWLINE
"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE" NEWLINE
"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE" NEWLINE
"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL" NEWLINE
"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR" NEWLINE
"SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER" NEWLINE
"CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY," NEWLINE
"OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE" NEWLINE
"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." NEWLINE NEWLINE
#define NEWLINE
Definition: amath.h:222

Definition at line 48 of file console.cpp.

Referenced by ConsoleBase::ShowLicense().

◆ version

const char* version = TXTVERSMSG
static