Code: Select all
Declare ScanDir.l(Dir.s, C.l, a.b, r.w)
Code: Select all
Declare ScanDir.l(.s, .l, .a, .w)
Code: Select all
Declare ScanDir.l(Dir.s, C.l, a.b, r.w)
Code: Select all
Declare ScanDir.l(.s, .l, .a, .w)
So what's better with that?IceSoft wrote:Code: Select all
Declare ScanDir.l(.s, .l, .a, .w)
Is not required to use the long names for declare.PB wrote:Less typing when the params have longer names.
Code: Select all
Declare ScanDir.l(a.s, b.l, c.b, d.w)
Yes I know...that's the reason why I write this request.ts-soft wrote:Is not required to use the long names for declare.Only the type and count must be correctCode: Select all
Declare ScanDir.l(a.s, b.l, c.b, d.w)
As easier as better.Mistrel wrote:I wrote a tool that parses my source code and copies all of the declares to the clipboard. One-click-- done. I consider your request to be an oversimplification to an adequate design.
Shouldn't params somehow be self-explanatory?PB wrote:Less typing when the params have longer names.
“Perfection is reached not when there’s nothing left to add, but when there’s nothing left to remove.” (Antoine de St. Exupery)IceSoft wrote:As long you need a tool to remove/adapt something...as long it is not perfect.
=> no tool needed at allPB wrote:(I hardly ever use Declare, and when I do, I just copied
the procedure definition to save typing it all)
... why not? wouldn't apply to me at all -> quote="PB"IceSoft wrote:Currently:Better:Code: Select all
Declare ScanDir.l(Dir.s, C.l, a.b, r.w)
Code: Select all
Declare ScanDir.l(.s, .l, .a, .w)
Of course...You are right. That's not what I mean.EdzUp[SD] wrote:surely just copy and paste then small adjustment is simple enough
Code: Select all
Declare BlaBla.l(a.l, b.b, c.c)
Code: Select all
Procedure.l BlaBla(ThisIsMYfirst.l, aShorterOne.b, s.c)
Declare ScanDir.l(Dir.s, C.l, a.b, r.w)
... I would like to see it being changed either toProcedure.l ScanDir(Dir.s, C.l, a.b, r.w)
or toProcedure ScanDir.l
to have a more consistant syntax.Declare.l ScanDir
Can't talk for others but I certainly do. That's what variable names are for.IceSoft wrote:And be a realist: Do you really use such long names for variables?