Page 1 of 1

issue-#85 Trap in DevDependencies with long module names

Posted: Wed Nov 18, 2015 6:44 am
by Zinn
This voting is about merging the changes of topic branch issue-#85 (Trap in DevDependencies with long module names) to the master.

You can read more about this topic at http://forum.blackboxframework.org/view ... f=40&t=317

Gentlemen, please cast your vote.
- Helmut

Re: issue-#85 Trap in DevDependencies with long module names

Posted: Fri Nov 20, 2015 8:49 am
by Ivan Denisov
Dear, Louwy and Chris. Why you are do not like this solution? Can you share your thoughts here, please?

Re: issue-#85 Trap in DevDependencies with long module names

Posted: Fri Nov 20, 2015 2:41 pm
by luowy
In fact, Jesof give a good solution,
I meant to select Yes,but I picked the No,sorry.
now Ivan remind me, after read the code for a while,I would like use "Extract" instead "Replace".

Code: Select all

PROCEDURE GetOpName(IN op, arg: ARRAY OF CHAR; VAR opName: Stores.OpName);
	VAR s: Stores.OpName;
BEGIN
	IF LEN(op$)+ LEN(arg$) +3 <LEN(Stores.OpName) THEN 
		s:=arg$;
	ELSE
		Strings.Extract(arg,0,LEN(Stores.OpName)-LEN(op$)-3-3-1,s);
		s:=s+'...';
	END;
	opName := op + ' "' + s + '"'; 
END GetOpName;
In fact,it is not wise, just my personal taste。

I have changed my Selection.

Re: issue-#85 Trap in DevDependencies with long module names

Posted: Fri Nov 20, 2015 10:17 pm
by cfbsoftware
I have no interest in module names greater than 32 characters and would not want to condone their use. Or am I missing something?

Re: issue-#85 Trap in DevDependencies with long module names

Posted: Sat Nov 21, 2015 2:28 pm
by Ivan Denisov
cfbsoftware wrote:I have no interest in module names greater than 32 characters and would not want to condone their use. Or am I missing something?
I think, that this will not condone their use. However if somebody will use them, there will be better support for this.

The voting is over. The resulting version:
http://blackboxframework.org/unstable/m ... -setup.exe
http://blackboxframework.org/unstable/m ... a1.307.zip