The Cool Tool

Open Minipattern MPTool

Home
OpenMiniPatterns

Short Description:

Functions to concat and decompose fields of a variable of a fuction.
Some other tool functions and some base fields.

Dependent from Libraries:

  • CLASS450/PATTERNLIBS/WINAPI
  • History of changes:

    08.Nov.2002

  • Changed some names and scoping of functions (so take care the hardcopies here are maybe not up to date)
  • Changed field sizes for fields used in FormatString.Get and FormatString.Set function to 100. Hope this speeds up performance on AS400.
  • Added support in FormatString.Get and FormatString.Set for structured fields. (Thanks to Árni Freyr Jónsson for idea and metacode)
  • Added some service functions. I did not describe them yet, but maybe later :-).
  • Possible Enhancements:

  • Concating the fields with fixed field length (without cutting trailing spaces)
  • Status:

    Groupmodel online (Plex 4.5a)
    Model includes help topics
    Example model

    Downloads:

    Groupmodel MPTool.zip

    Description:

    There are two functions to inherit from.
    FormatString.Get for decompose the merged string.
    FormatString.SET for merging the values of the fields.

    There are 4 new fields in this model.

    Implementation:

    To concat fieldvalues in a function:

  • Inherit from function "FormatStringSET".
  • Enter the fields you want to concat in the variable FormatDataL.
  • Call the Sub FormatStringSet.
  • Use the field <FormatStringL._FormatString>, that contains the merged string.
  • Hosted by www.Geocities.ws

    1