You are here: Symbol Reference > _AbProc Namespace > Functions > AbCalcLogStr Function
ContentsIndexHome
PreviousUpNext
_AbProc.AbCalcLogStr Function
Send Feedback

Calculates of steps for Logarithm scales

File
Pascal
function AbCalcLogStr(ValueFrom: real; Steps: Integer; Format: string; Rev: Boolean): string;
C++
AnsiString AbCalcLogStr(real ValueFrom, int Steps, AnsiString Format, Boolean Rev);
Parameters
Parameters 
Description 
ValueFrom: real 
the start value 
Steps: Integer 
number of steps 
Format: string 
Value format 
Rev: Boolean 
reverse order (if true lowest value first) 
Returns

String with the logarithm steps separated by ";"

Description

Calculates the steps for logaritm scales.

Example

With a ValueFrom=1e1, Steps=3 and Rev=false return value is "1e1;1e2;1e3;" With a ValueFrom=1e1, Steps=3 and Rev=true return value is "1e3;1e2;1e1;"

Hard-& Software A.Baecker
What do you think about this topic? Send feedback!