TurboDB Engine Documentation
|Previous Top Next|
TurboDB Engine has a set of native built-in functions. These functions have been used for check constraints, calculated indexes and default values in table levels before level 5. Since then all of this functionality is available through TurboSQL, but TurboPL can still be used. When you want to use a TurboPL expression as the formula of a calculated field or an calculated index, you must precede it by the @ sign.
For example: @RightStr(Column1) uses the TurboPL interpreter instead of the TurboSQL interpreter to evaluate the formula. This is important for backward compatibility but is not recommended for new or updated tables.