>Having all vars in line, grouped or individual 1 by line is not the problem and anyone have it's preferences, but leaving the final ";" open in the last statement COULD BE a real problem, because if you, by mistake, write some code in the immediate next line, then VFP will interpret that as a continuation on the last ";", generating all kind of "rare" problems that not always are visible at first, and even can not generate a compilation error.
Fernando,
Just a matter of habits -- once you're used to this writing, you can no longer do the traditional way...
If you choose to declare 1 parameter or variable per line, because you like to comment right in front of it and/or you appreciate the legibility, then leaving a ';' at the end of the last line saves you a lot of time adding parameters and variables: just copy and paste a full line, change the name and comment and you're done.
BTW, more and more JavaScript projects guidelines are 'without semicolons' (
https://www.codecademy.com/fr/forum_questions/507f6dd09266b70200000d7e).
I've even seen a project where ending semicolons were forbidden except when absolutely necessary (could not find the link, sorry)
Also placing the separative coma is an issue, whether you prefer
local var1,;
var2,;
var3
or
local var1;
, var2;
, var3;
second writing makes adding a new variable much easier:
local var1;
, var2;
, var3;
, var4;
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)