Data types
Author: Piotr Gridniew (C) 2001-2004
Keywords: Data types; real; complex; vector; boolean; string; expression; objects;

Contents - Index

Data types

PG Calculator use advanced object-oriented stack. Each data inputted in calculator has own object representation and will be managed in different ways.
PG Calculator operates on following types of objects:
Name Symbol Example How to use
1. Real numbers R 3.1234567 (details...)
2. Complex numbers C (1.54,2.43i) (details...)
3. Boolean values B true or false (details...)
4. Strings S "Hello!" (details...)
5. Expressions E 'x^2+4x' (details...)
6. Vectors V [1.2 3.2 4.1] (details...)
7. Value with unit U 10_kg*m/s^2 (details...)
Help Contents