Re: How to name variables in a program?
- From: August Karlstrom <fusionfive@xxxxxxxxx>
- Date: Mon, 30 May 2005 22:44:44 GMT
August Karlstrom wrote:
Note that single letter variable names are generally preferred for (trivial) loop variables as long names obscures the code. Compare
FOR k := 0 TO LEN(a) DO a[k] := 0 END
with
FOR arrayIndex := 0 TO LEN(a) DO a[arrayIndex] := 0 END
Oops! `LEN(a)' should of course be replaced by `LEN(a) - 1'.
-- August .
- References:
- How to name variables in a program?
- From: SerGioGio
- Re: How to name variables in a program?
- From: Phlip
- Re: How to name variables in a program?
- From: August Karlstrom
- Re: How to name variables in a program?
- From: Phlip
- Re: How to name variables in a program?
- From: August Karlstrom
- Re: How to name variables in a program?
- From: Phlip
- Re: How to name variables in a program?
- From: August Karlstrom
- Re: How to name variables in a program?
- From: Phlip
- Re: How to name variables in a program?
- From: August Karlstrom
- Re: How to name variables in a program?
- From: Phlip
- Re: How to name variables in a program?
- From: August Karlstrom
- How to name variables in a program?
- Prev by Date: Re: How to name variables in a program?
- Next by Date: Re: Get excel work*** names using ODBC
- Previous by thread: Re: How to name variables in a program?
- Next by thread: Re: How to name variables in a program?
- Index(es):