Variable Types

PB/DOS introduced floating-point and fixed-point BCD variables - variable types specially suited to storage and calculation of monetary values.  In Visual Basic, Microsoft introduced the Currency variable type, which is similar to a BCD variable, but with a fixed precision of four decimal places.  PB/CC offers two Currency variable types: standard Currency (CUR) with four decimal places, and Extended-currency (CUX) optimized with two decimal places - both are based on the Quad-integer variable type.  The CUR variable type is compatible with the VB Currency type.

PB/DOS 2.x introduced Flex strings, which were used for dynamic data structures.  In place of Flex strings, PB/CC offers Field strings, which work in a similar fashion.

 

See Also

Upgrading To PBCC

Keyword Differences

Variables