Commit 49c8db8c authored by Arturo Espinosa's avatar Arturo Espinosa

various documentation typo fixes from Valentin Filippov <flpd@mail.ru>

parent b5ee5a84
......@@ -353,7 +353,7 @@ static char *help_daverage = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -420,7 +420,7 @@ static char *help_dcount = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -483,7 +483,7 @@ static char *help_dcounta = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -543,7 +543,7 @@ static char *help_dget = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -618,7 +618,7 @@ static char *help_dmax = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -689,7 +689,7 @@ static char *help_dmin = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -762,7 +762,7 @@ static char *help_dproduct = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -835,7 +835,7 @@ static char *help_dstdev = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -904,7 +904,7 @@ static char *help_dstdevp = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -974,7 +974,7 @@ static char *help_dsum = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -1045,7 +1045,7 @@ static char *help_dvar = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......@@ -1116,7 +1116,7 @@ static char *help_dvarp = {
"also be the label of a column. "
"\n"
"@criteria is the range of cells which contains the specified "
"conditions. The first row of a criteria should contain the labels "
"conditions. The first row of a @criteria should contain the labels "
"of the fields for which the criterias are for. Cells below the "
"label specify coditions, for example, ``>3'' or ``<9''. "
"\n"
......
......@@ -70,8 +70,8 @@ static char *help_date = {
"Computes the number of days since the 1st of january of 1900"
"(the date serial number) for the given year, month and day.\n"
"The day might be negative (to count backwards) and it is relative "
"to the previous month. The years should be at least 1900."
"The @day might be negative (to count backwards) and it is relative "
"to the previous @month. The @years should be at least 1900."
"\n"
""
"@SEEALSO=TODAY, NOW")
......@@ -91,7 +91,7 @@ gnumeric_date (FunctionEvalInfo *ei, Value **argv)
/* FIXME: someone should check this. */
if (year <= 30)
year += 2000;
else if (year <= 99)
year += 1900;
if (!g_date_valid_dmy(1, month, year))
......@@ -136,7 +136,7 @@ gnumeric_datevalue (FunctionEvalInfo *ei, Value **argv)
static char *help_edate = {
N_("@FUNCTION=EDATE\n"
"@SYNTAX=EDATE(serial_number,months)\n"
"@SYNTAX=EDATE(date,months)\n"
"@DESCRIPTION="
"EDATE returns the serial number of the date that is the "
......@@ -184,7 +184,7 @@ static char *help_today = {
"@DESCRIPTION="
"Returns the serial number for today (the number of days "
"elapsed since the 1st of January of 1900)"
"elapsed since the 1st of January of 1900)."
"\n"
""
......@@ -213,10 +213,10 @@ static char *help_now = {
"Serial Numbers in Gnumeric are represented as follows:"
"The integral part is the number of days since the 1st of "
"January of 1900. The decimal part represent the fraction "
"of the day and is mapped into hour, minutes and seconds\n"
"of the day and is mapped into hour, minutes and seconds.\n"
""
"For example: .0 represents the beginning of the day, and 0.5 "
"represents noon"
"represents noon."
"\n"
""
......@@ -293,7 +293,7 @@ static char *help_hour = {
"@DESCRIPTION="
"Converts a serial number to an hour. The hour is returned as "
"an integer in the range 0 (12:00 A.M.) to 23 (11:00 P.M.)"
"an integer in the range 0 (12:00 A.M.) to 23 (11:00 P.M.)."
"\n"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
......@@ -318,7 +318,7 @@ static char *help_minute = {
"@DESCRIPTION="
"Converts a serial number to a minute. The minute is returned as "
"an integer in the range 0 to 59"
"an integer in the range 0 to 59."
"\n"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
......@@ -343,7 +343,7 @@ static char *help_second = {
"@DESCRIPTION="
"Converts a serial number to a second. The second is returned as "
"an integer in the range 0 to 59"
"an integer in the range 0 to 59."
"\n"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
......@@ -478,10 +478,10 @@ static char *help_days360 = {
"Returns the number of days from @date1 to @date2 following a "
"360-day calendar in which all months are assumed to have 30 days."
"\n"
"If method is true, the European method will be used. In this "
"If @method is true, the European method will be used. In this "
"case, if the day of the month is 31 it will be considered as 30."
"\n"
"If method is false or omitted, the US method will be used. "
"If @method is false or omitted, the US method will be used. "
"This is a somewhat complicated industry standard method."
"\n"
"Note that Gnumeric will perform regular string to serial "
......
......@@ -138,7 +138,7 @@ static char *help_bin2dec = {
"in string or number to its decimal equivalent."
"\n"
"\n"
"@SEEALSO=DEC2BIN")
"@SEEALSO=DEC2BIN, BIN2OCT, BIN2HEX")
};
static Value *
......@@ -152,13 +152,13 @@ static char *help_bin2oct = {
"@SYNTAX=BIN2OCT(number[,places])\n"
"@DESCRIPTION="
"The BIN2OCT function converts a binary number to an octal number."
"places is an optional field, specifying to zero pad to that "
"The BIN2OCT function converts a binary number to an octal number. "
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=OCT2BIN")
"@SEEALSO=OCT2BIN, BIN2DEC, BIN2HEX")
};
static Value *
......@@ -176,9 +176,9 @@ static char *help_bin2hex = {
"hexadecimal number. @places is an optional field, specifying "
"to zero pad to that number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=HEX2BIN")
"@SEEALSO=HEX2BIN, BIN2OCT, BIN2DEC")
};
static Value *
......@@ -192,13 +192,13 @@ static char *help_dec2bin = {
"@SYNTAX=DEC2BIN(number[,places])\n"
"@DESCRIPTION="
"The DEC2BIN function converts a binary number to an octal number."
"places is an optional field, specifying to zero pad to that "
"The DEC2BIN function converts a decimal number to a binary number. "
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=BIN2DEC")
"@SEEALSO=BIN2DEC, DEC2OCT, DEC2HEX")
};
static Value *
......@@ -212,13 +212,13 @@ static char *help_dec2oct = {
"@SYNTAX=DEC2OCT(number[,places])\n"
"@DESCRIPTION="
"The DEC2OCT function converts a binary number to an octal number."
"places is an optional field, specifying to zero pad to that "
"The DEC2OCT function converts a decimal number to an octal number. "
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=OCT2DEC")
"@SEEALSO=OCT2DEC, DEC2BIN, DEC2HEX")
};
static Value *
......@@ -232,13 +232,13 @@ static char *help_dec2hex = {
"@SYNTAX=DEC2HEX(number[,places])\n"
"@DESCRIPTION="
"The DEC2HEX function converts a binary number to an octal number."
"places is an optional field, specifying to zero pad to that "
"The DEC2HEX function converts a decimal number to a hexadecimal number. "
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=HEX2DEC")
"@SEEALSO=HEX2DEC, DEC2BIN, DEC2OCT")
};
static Value *
......@@ -256,7 +256,7 @@ static char *help_oct2dec = {
"in a string or number to its decimal equivalent."
"\n"
"\n"
"@SEEALSO=DEC2OCT")
"@SEEALSO=DEC2OCT, OCT2BIN, OCT2HEX")
};
static Value *
......@@ -270,13 +270,13 @@ static char *help_oct2bin = {
"@SYNTAX=OCT2BIN(number[,places])\n"
"@DESCRIPTION="
"The OCT2BIN function converts a binary number to a hexadecimal "
"The OCT2BIN function converts an octal number to a binary "
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=BIN2OCT")
"@SEEALSO=BIN2OCT, OCT2DEC, OCT2HEX")
};
static Value *
......@@ -290,13 +290,13 @@ static char *help_oct2hex = {
"@SYNTAX=OCT2HEX(number[,places])\n"
"@DESCRIPTION="
"The OCT2HEX function converts a binary number to a hexadecimal "
"The OCT2HEX function converts an octal number to a hexadecimal "
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=OCT2HEX")
"@SEEALSO=HEX2OCT, OCT2BIN, OCT2DEC")
};
static Value *
......@@ -310,13 +310,13 @@ static char *help_hex2bin = {
"@SYNTAX=HEX2BIN(number[,places])\n"
"@DESCRIPTION="
"The HEX2BIN function converts a binary number to a hexadecimal "
"The HEX2BIN function converts a hexadecimal number to a binary "
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=BIN2HEX")
"@SEEALSO=BIN2HEX, HEX2OCT, HEX2DEC")
};
static Value *
......@@ -330,13 +330,13 @@ static char *help_hex2oct = {
"@SYNTAX=HEX2OCT(number[,places])\n"
"@DESCRIPTION="
"The HEX2OCT function converts a binary number to a hexadecimal "
"The HEX2OCT function converts a hexadecimal number to an octal "
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"\n"
"if places is too small or negative #NUM! error is returned."
"If @places is too small or negative #NUM! error is returned."
"\n"
"@SEEALSO=BIN2HEX")
"@SEEALSO=OCT2HEX. HEX2BIN, HEX2DEC")
};
static Value *
......@@ -350,11 +350,11 @@ static char *help_hex2dec = {
"@SYNTAX=HEX2DEC(x)\n"
"@DESCRIPTION="
"The HEX2DEC function converts a binary number "
"in string or number to its decimal equivalent."
"The HEX2DEC function converts a hexadecimal number "
"to its decimal equivalent."
"\n"
"\n"
"@SEEALSO=DEC2HEX")
"@SEEALSO=DEC2HEX, HEX2BIN, HEX2OCT")
};
static Value *
......@@ -375,8 +375,8 @@ static char *help_besseli = {
"truncated."
"\n"
"if x or n are not numeric a #VALUE! error is returned."
"if n < 0 a #NUM! error is returned."
"If @x or @n are not numeric a #VALUE! error is returned."
"If @n < 0 a #NUM! error is returned."
"\n"
"@SEEALSO=BESSELJ,BESSELK,BESSELY")
};
......@@ -681,7 +681,7 @@ static char *help_imcos = {
"@DESCRIPTION="
"IMCOS returns the cosine of a complex number."
"\n"
"@SEEALSO=IMSIN")
"@SEEALSO=IMSIN,IMTAN")
};
static Value *
......@@ -701,9 +701,9 @@ static char *help_imtan = {
N_("@FUNCTION=IMTAN\n"
"@SYNTAX=IMTAN(inumber)\n"
"@DESCRIPTION="
"IMCOS returns the tangent of a complex number."
"IMTAN returns the tangent of a complex number."
"\n"
"@SEEALSO=IMTAN")
"@SEEALSO=IMSIN,IMCOS")
};
static Value *
......@@ -771,7 +771,7 @@ static char *help_imln = {
"logarithm is not uniquely defined on complex numbers. You may need "
"to add or subtract an even multiple of pi to the imaginary part.)"
"\n"
"@SEEALSO=IMEXP")
"@SEEALSO=IMEXP,IMLOG2,IMLOG10")
};
static Value *
......@@ -843,7 +843,7 @@ static char *help_impower = {
"the complex number to be raised to a power and @number is the "
"power to which you want to raise the complex number."
"\n"
"@SEEALSO=IMEXP,IMLN")
"@SEEALSO=IMSQRT")
};
static Value *
......@@ -899,7 +899,7 @@ static char *help_imsin = {
"@DESCRIPTION="
"IMSIN returns the sine of a complex number."
"\n"
"@SEEALSO=IMCOS")
"@SEEALSO=IMCOS,IMTAN")
};
static Value *
......@@ -921,7 +921,7 @@ static char *help_imsqrt = {
"@DESCRIPTION="
"IMSQRT returns the square root of a complex number."
"\n"
"@SEEALSO=IMEXP")
"@SEEALSO=IMPOWER")
};
static Value *
......@@ -1061,7 +1061,7 @@ static char *help_convert = {
"CONVERT returns a conversion from one measurement system to "
"another. For example, you can convert a weight in pounds "
"to a weight in grams. @number is the value you want to "
"convert, @from_unit specifies the unit of the number, and "
"convert, @from_unit specifies the unit of the @number, and "
"@to_unit is the unit for the result."
"\n"
"@from_unit and @to_unit can be any of the following:\n\n"
......@@ -1446,12 +1446,12 @@ static char *help_erf = {
"@DESCRIPTION="
"The ERF function returns the integral of the error function "
"between the limits. If the upper limit ommitted ERF returns "
"the integral between zero and the lower limit."
"between the limits. If the @upper_limit ommitted ERF returns "
"the integral between zero and the @lower_limit."
"\n"
"If either lower or upper are not numeric a #VALUE! error is "
"If either @lower_limit or @upper_limit are not numeric a #VALUE! error is "
"returned. "
"If either lower or upper are < 0 a #NUM! error is returned."
"If either @lower_limit or @upper_limit are < 0 a #NUM! error is returned."
"\n"
"@SEEALSO=ERFC")
};
......@@ -1483,11 +1483,11 @@ static char *help_erfc = {
"@DESCRIPTION="
"The ERFC function returns the integral of the complimentary "
"error function between the limits 0 and x."
"error function between the limits 0 and @x."
"\n"
"If x is not numeric a #VALUE! error is returned. "
"If x < 0 a #NUM! error is returned."
"If @x is not numeric a #VALUE! error is returned. "
"If @x < 0 a #NUM! error is returned."
"\n"
"@SEEALSO=ERF")
};
......@@ -1510,7 +1510,7 @@ static char *help_delta = {
"@DESCRIPTION="
"The DELTA function test for numerical eqivilance of two "
"arguments returning 1 in equality "
"y is optional, and defaults to 0."
"@y is optional, and defaults to 0."
"\n"
"If either argument is non-numeric returns a #VALUE! error."
......@@ -1560,8 +1560,8 @@ static char *help_gestep = {
"@SYNTAX=GESTEP(x[,y])\n"
"@DESCRIPTION="
"The GESTEP function test for if x is >= y, returning 1 if it "
"is so, and 0 otherwise y is optional, and defaults to 0."
"The GESTEP function test for if @x is >= @y, returning 1 if it "
"is so, and 0 otherwise @y is optional, and defaults to 0."
"\n"
"If either argument is non-numeric returns a #VALUE! error."
......
......@@ -102,7 +102,7 @@ calculate_pmt (float_t rate, float_t nper, float_t pv, float_t fv, int type)
static char *help_effect = {
N_("@FUNCTION=EFFECT\n"
"@SYNTAX=EFFECT(b1,b2)\n"
"@SYNTAX=EFFECT(r,nper)\n"
"@DESCRIPTION=Calculates the effective interest rate from "
"a given nominal rate.\n"
"Effective interest rate is calculated using this formulae:\n"
......@@ -113,8 +113,8 @@ static char *help_effect = {
"\n"
"where:\n"
"\n"
"r = nominal interest rate (stated in yearly terms)"
"nper = number of periods used for compounding"
"@r = nominal interest rate (stated in yearly terms)\n"
"@nper = number of periods used for compounding"
"\n"
"For example credit cards will list an APR (annual percentage rate) which "
"is a nominal interest rate."
......@@ -150,7 +150,7 @@ gnumeric_effect (FunctionEvalInfo *ei, Value **argv)
static char *help_nominal = {
N_("@FUNCTION=NOMINAL\n"
"@SYNTAX=NOMINAL(b1,b2)\n"
"@SYNTAX=NOMINAL(r,nper)\n"
"@DESCRIPTION=Calculates the nominal interest rate from "
"a given effective rate.\n"
"Nominal interest rate is given by a formula:\n"
......@@ -159,7 +159,7 @@ static char *help_nominal = {
"\n"
"where:\n"
"\n"
"r = effective interest rate"
"r = effective interest rate\n"
"nper = number of periods used for compounding"
"\n"
"@SEEALSO=EFFECT")
......@@ -187,18 +187,18 @@ gnumeric_nominal (FunctionEvalInfo *ei, Value **argv)
static char *help_sln = {
N_("@FUNCTION=SLN\n"
"@SYNTAX=SLN(cost,salvage value,life)\n"
"@SYNTAX=SLN(cost,salvage_value,life)\n"
"@DESCRIPTION=Calculates the straight line depriciation for an"
"@DESCRIPTION=Calculates the straight line depriciation for an "
"asset based on its cost, salvage value and anticipated life."
"\n"
"Formula for straight line depriciation is:"
"\n"
"Depriciation expense = ( cost - salvage value ) / life"
"Depriciation expense = ( cost - salvage_value ) / life"
"\n"
"\tcost = cost of an asset when acquired (market value)"
"\tsalvage_value = amount you get when asset sold at the end of life"
"\tlife = anticipated life of an asset"
"\t@cost = cost of an asset when acquired (market value)"
"\t@salvage_value = amount you get when asset sold at the end of life"
"\t@life = anticipated life of an asset"
"\n"
"@SEEALSO=SYD")
};
......@@ -222,20 +222,20 @@ gnumeric_sln (FunctionEvalInfo *ei, Value **argv)
static char *help_syd = {
N_("@FUNCTION=SYD\n"
"@SYNTAX=SYD(cost,salvage value,life,period)\n"
"@SYNTAX=SYD(cost,salvage_value,life,period)\n"
"@DESCRIPTION=Calculates the sum-of-years digits depriciation for an"
"asset based on its cost, salvage value, anticipated life and a"
"@DESCRIPTION=Calculates the sum-of-years digits depriciation for an "
"asset based on its cost, salvage value, anticipated life and a "
"particular period."
"\n"
"Formula for sum-of-years digits depriciation is:"
"\n"
"Depriciation expense = ( cost - salvage value ) * (life-period+1) * 2 / life * (life + 1)"
"Depriciation expense = ( cost - salvage_value ) * (life - period + 1) * 2 / life * (life + 1)"
"\n"
"\tcost = cost of an asset when acquired (market value)"
"\tsalvage_value = amount you get when asset sold at the end of life"
"\tlife = anticipated life of an asset"
"\tperiod = period for which we need the expense"
"\t@cost = cost of an asset when acquired (market value)"
"\t@salvage_value = amount you get when asset sold at the end of life"
"\t@life = anticipated life of an asset"
"\t@period = period for which we need the expense"
"\n"
"@SEEALSO=SLN")
};
......@@ -263,8 +263,8 @@ static char *help_dollarde = {
"@DESCRIPTION=DOLLARDE converts a dollar price expressed as a "
"fraction into a dollar price expressed as a decimal number. "
"\n"
"If fraction is non-integer it is truncated. "
"If fraction<=0 DOLLARDE returns #NUM! error. "
"If @fraction is non-integer it is truncated. "
"If @fraction<=0 DOLLARDE returns #NUM! error. "
"\n"
"@SEEALSO=DOLLARFR")
};
......@@ -301,8 +301,8 @@ static char *help_dollarfr = {
"@DESCRIPTION=DOLLARFR converts a decimal dollar price into "
"a dollar price expressed as a fraction. "
"\n"
"If fraction is non-integer it is truncated. "
"If fraction<=0 DOLLARDE returns #NUM! error. "
"If @fraction is non-integer it is truncated. "
"If @fraction <= 0 DOLLARDE returns #NUM! error. "
"\n"
"@SEEALSO=DOLLARDE")
};
......@@ -574,7 +574,7 @@ static char *help_ipmt = {
"\n"
"where:"
"\n"
"PMT = Payment received on annuity"
"PMT = Payment received on annuity\n"
"PRINCIPA(per-1) = amount of the remaining principal from last period"
"\n"
"@SEEALSO=PPMT,PV,FV")
......@@ -615,7 +615,7 @@ static char *help_ppmt = {
"\n"
"where:"
"\n"
"PMT = Payment received on annuity"
"PMT = Payment received on annuity\n"
"IPMT(per) = amount of interest for period per"
"\n"
"@SEEALSO=IPMT,PV,FV")
......
......@@ -212,7 +212,7 @@ static char *help_countblank = {
"@SYNTAX=COUNTBLANK(range)\n"
"@DESCRIPTION="
"COUNTBLANK returns the number of blank cells in a range. "
"COUNTBLANK returns the number of blank cells in a @range. "
"\n"
"@SEEALSO=COUNT")
};
......@@ -247,7 +247,7 @@ static char *help_info = {
"@SYNTAX=INFO()\n"
"@DESCRIPTION="
"INFO Returns information about the current operating environment. "
"INFO returns information about the current operating environment. "
"\n"
"@SEEALSO=")
};
......@@ -320,7 +320,7 @@ static char *help_isblank = {
"@SYNTAX=ISBLANK()\n"
"@DESCRIPTION="
"ISBLANK Returns TRUE if the value is blank. "
"ISBLANK returns TRUE if the value is blank. "
"\n"
"@SEEALSO=")
};
......@@ -363,9 +363,9 @@ static char *help_iseven = {
"@SYNTAX=ISEVEN()\n"
"@DESCRIPTION="
"ISEVEN Returns TRUE if the number is even. "
"ISEVEN returns TRUE if the number is even. "
"\n"
"@SEEALSO=")
"@SEEALSO=ISODD")
};
static Value *
......@@ -380,7 +380,7 @@ static char *help_islogical = {
"@SYNTAX=ISLOGICAL()\n"
"@DESCRIPTION="
"ISLOGICAL Returns TRUE if the value is a logical value. "
"ISLOGICAL returns TRUE if the value is a logical value. "
"\n"
"@SEEALSO=")
};
......@@ -406,7 +406,7 @@ static char *help_isnontext = {
"@DESCRIPTION="
"ISNONTEXT Returns TRUE if the value is not text. "
"\n"
"@SEEALSO=")
"@SEEALSO=ISTEXT")
};
static Value *
......@@ -425,7 +425,7 @@ static char *help_isnumber = {
"@SYNTAX=ISNUMBER()\n"
"@DESCRIPTION="
"ISNUMBER Returns TRUE if the value is a number. "
"ISNUMBER returns TRUE if the value is a number. "
"\n"
"@SEEALSO=")
};
......@@ -446,9 +446,9 @@ static char *help_isodd = {
"@SYNTAX=ISODD()\n"
"@DESCRIPTION="
"ISODD Returns TRUE if the number is odd. "
"ISODD returns TRUE if the number is odd. "
"\n"
"@SEEALSO=")
"@SEEALSO=ISEVEN")
};
static Value *
......@@ -463,7 +463,7 @@ static char *help_isref = {
"@SYNTAX=ISREF()\n"
"@DESCRIPTION="
"ISREF Returns TRUE if the value is a reference. "
"ISREF returns TRUE if the value is a reference. "
"\n"
"@SEEALSO=")
};
......@@ -489,9 +489,9 @@ static char *help_istext = {
"@SYNTAX=ISTEXT()\n"
"@DESCRIPTION="
"ISTEXT Returns TRUE if the value is text. "
"ISTEXT returns TRUE if the value is text. "
"\n"
"@SEEALSO=")
"@SEEALSO=ISNONTEXT")
};
static Value *
......@@ -510,7 +510,7 @@ static char *help_n = {
"@SYNTAX=N()\n"
"@DESCRIPTION="
"N Returns a value converted to a number. Strings containing "
"N returns a value converted to a number. Strings containing "
"text are converted to the zero value. "
"\n"
"@SEEALSO=")
......@@ -545,7 +545,7 @@ static char *help_type = {
"@SYNTAX=TYPE()\n"
"@DESCRIPTION="
"TYPE Returns a number indicating the data type of a value. "
"TYPE returns a number indicating the data type of a value. "
"\n"
"@SEEALSO=")
};
......
......@@ -19,7 +19,7 @@ static char *help_and = {
"if all of the expression evaluates to TRUE, otherwise it returns "
"FALSE.\n"
"b1, trough bN are expressions that should evaluate to TRUE or FALSE. "
"@b1, trough @bN are expressions that should evaluate to TRUE or FALSE. "
"If an integer or floating point value is provided zero is considered "
"FALSE and anything else is TRUE.\n"
......@@ -68,7 +68,7 @@ static char *help_not = {
"@DESCRIPTION="
"Implements the logical NOT function: the result is TRUE if the "
"number is zero; othewise the result is FALSE.\n\n"
"@number is zero; othewise the result is FALSE.\n\n"
"@SEEALSO=AND, OR")
};
......@@ -89,7 +89,7 @@ static char *help_or = {
"@DESCRIPTION="
"Implements the logical OR function: the result is TRUE if any of the "
"values evaluated to TRUE.\n"
"b1, trough bN are expressions that should evaluate to TRUE or FALSE. "
"@b1, trough @bN are expressions that should evaluate to TRUE or FALSE. "
"If an integer or floating point value is provided zero is considered "
"FALSE and anything else is TRUE.\n"
"If the values contain strings or empty cells those values are "
......@@ -139,8 +139,8 @@ static char *help_if = {
"Use the IF statement to evaluate conditionally other expressions "
"IF evaluates @condition. If @condition returns a non-zero value "
"the result of the IF expression is the @if-true expression, otherwise "
"IF evaluates to the value of @if-false."
"If ommitted if-true defaults to TRUE and if-false to FALSE."
"IF evaluates to the value of @if-false. "
"If ommitted @if-true defaults to TRUE and @if-false to FALSE."