> function(param1 p1, param2 p2, ...
> paramx px, paramy py)
> {
> ...
> }
>
> Try to indent this with tabs and set tab-width to 4 or to 8!
In my own stuff I use in such cases real spaces starting from the position
below the 'f' in function to the 'p' in paramx.
If the block is intended, both lines get the same amount of tabs at the
beginning. This way it looks the same with any tab size.
> So you see there will be always problems with indenting and IMO you never
> find the perfect solution.
Well, mixing tabs and spaces might not be perfect but I'd consider it a
good compromise in such extraordinary situations. Functions with more than
two or three parameters tend to be too complex anyway or maybe some
abstraction for this group of parameters is missing...
Andre'
PS: Just for the records: I use two-space tabs in my own coding...
--
André Pönitz ............................................. [EMAIL PROTECTED]
C++-Programmierer gesucht ... Naeheres unter http://mathematik.htwm.de/job