Search found 303 matches

by Luis Babboni
Nov 16, 2016 12:20
Forum: Projects
Topic: FB debugger : 2.96 32/64 BIT ..... (2020/02/17)
Replies: 649
Views: 168990

Re: FB debugger : 2.91 32/64 BIT ..... (Aug 20th, 2016)

Hi again, I defined, first time I did something like this, my own user defined type. And it have many dimensions. My problem now is that I do not know how to see its values: https://dl.dropboxusercontent.com/s/ivrq5pgm7juyr21/ttentry.jpg?dl=0 In the windows, where I want to could change the index an...
by Luis Babboni
Sep 29, 2016 22:37
Forum: Beginners
Topic: Can´t understand Trim command
Replies: 9
Views: 795

Re: Can´t understand Trim command

Thanks guys!
by Luis Babboni
Sep 29, 2016 13:21
Forum: Beginners
Topic: Can´t understand Trim command
Replies: 9
Views: 795

Re: Can´t understand Trim command

SARG wrote:Just remove 1 to index

Code: Select all

left(s1, index-1)   


Now yes!....
by Luis Babboni
Sep 29, 2016 13:08
Forum: Beginners
Topic: Can´t understand Trim command
Replies: 9
Views: 795

Re: Can´t understand Trim command

Thanks guys, but I still do not understand how to do what I need, I mean, I´m sure I could but not as simply as it must be :-( What I need is the left substring of this string: "mmmmm:sssss" before the ":" (where the numbers of "m"´s and ""s"´s could be a...
by Luis Babboni
Sep 28, 2016 18:37
Forum: Beginners
Topic: Can´t understand Trim command
Replies: 9
Views: 795

Can´t understand Trim command

Sorry but even seeing the examples in the Help, I could not understand the logic of the command: LTrim; RTrim and Trim :-( Any hint? Thanks. Dim s1 As String="12:34" Print LTrim(s1,":") 'Spected:":34" Result: "12:34" Print RTrim(s1,":") 'Spected:&quo...
by Luis Babboni
Sep 10, 2016 13:05
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

I have an answer and is like you said in some things not important for the moment but that could make try it problems in future!
I´ll make a change that seems to be easy that is just change the sign when corresponding in show thinking.

Thanks again!
by Luis Babboni
Sep 10, 2016 11:20
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

I must read again the rest about macros. Edit: I could not find even the word macro in FB Help!! For searching under index you must use the hole keyword #macro in other words as it's used in the program listing. ... Thanks! 'Halfmove: If espacios = 5 Then hmV = hmV * 10 + val(Char) End If Comments ...
by Luis Babboni
Sep 09, 2016 14:43
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

... First something I noticed seeing Soberango play. When Soberango’s Queen is take and his opponent manage to hold his Queen, the value that Soberango gives to it own moves is wrong. Soberango had already lost some pieces and it start rating it moves with + (positive) but it should be rating it mo...
by Luis Babboni
Sep 09, 2016 14:32
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

... In the first line if p > 1 andalso Nodo(p-1, 1) = 1 then , andalso checks p > 1 first, if this is true it test Nodo(p-1, 1) = 1 if it's true or false, if it’s ( p > 1 ) false then the status of Nodo(p-1, 1) = 1 does not matter, it leaves the If Then construction. And test both conditions and th...
by Luis Babboni
Sep 09, 2016 13:16
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

... 'Halfmove: If espacios = 5 Then ' if Char = "-" or "" or " " then val(Char) = 0 hmV = hmV * 10 + val(Char) ' If quienmueve = 1 Then hmV = hmV * 2 -1 ' } ' If quienmueve = -1 Then hmV = hmV * 2 ' }= outside Do Loop ' Halfmove = hmV ' } 'Para debug: 'Print "Half...
by Luis Babboni
Sep 09, 2016 13:05
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

frisian wrote:...
Made the code in AlfaBeta.bas into a macro there are no changes needed in MainGenerador.bas. The macro is a piece code that is inserted in the listing at compile time, removing the need for a sub routine call.
...


Is something like the #Include...?
by Luis Babboni
Sep 09, 2016 12:59
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

... In CargaFEN.bas you have the line If hmC = 5 Then hmS3 = Char :hmV = 1000*Val(hmS1) + 100*Val(hmS2) + 10*Val(hmS3) + Val(hmS4) do you spot the error. hmS3 = Char should be hmS4 = Char ... Nice find! I think you need to read the core too carefully to find it!! Thanks. This part fortunatelly is n...
by Luis Babboni
Sep 09, 2016 12:46
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

... About random moves. Some computes chess programs have a feature called “blunder chess” where the program choices not the best move, but some lesser move to simulate a human that makes a not so good move. Mostly it used to make it a little easier for a human to win from a chess program. ... Not ...
by Luis Babboni
Sep 09, 2016 12:42
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

... First something I noticed seeing Soberango play. When Soberango’s Queen is take and his opponent manage to hold his Queen, the value that Soberango gives to it own moves is wrong. Soberango had already lost some pieces and it start rating it moves with + (positive) but it should be rating it mo...
by Luis Babboni
Sep 09, 2016 12:14
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6498

Re: Soberango 0.00.0 (chess engine) realized.

Thanks frisian agian for your time! I´m must going in 5 minutes so just first comments to your comment. I´m not understand right your first comment about queen and wrong evaluations. Could be this related what use to happens to Soberango cause the horizon effect that when it is near to lost a major ...

Go to advanced search