Search found 303 matches

by Luis Babboni
Sep 07, 2016 15:16
Forum: Beginners
Topic: 3 indexes in array.
Replies: 7
Views: 624

Re: 3 indexes in array.

Hi, No redims somewhere with a different number of indexes? ReDim test(1,1) As Long reDim test(1,1,1) As long error 36: Wrong number of dimensions, TEST in 'reDim test(1,1,1) As long' Was exactly this problem! Sorry, for the fool mistake.... (I have 57 subroutines/includes in my project and most of...
by Luis Babboni
Sep 07, 2016 13:10
Forum: Beginners
Topic: 3 indexes in array.
Replies: 7
Views: 624

3 indexes in array.

Sorry to my noob question, Is not possible to use 3 indexes in array? I remember that is allowed I think till 8 indexes. I can´t compile my program cause this line have "wrong number of dimensions". Dim MovidasOrdenadas(1 To MaximaProfundidad, 0 To 321, 0 To 7) As Integer If I change Maxim...
by Luis Babboni
Sep 04, 2016 11:32
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

After all that has been written in the forum, I do not understand that someone has still not the first reflex when a program crashes to compile with '-exx' (which also displays the offending line number if error detected), specially in addition when that was recalled by St_W in one of first posts o...
by Luis Babboni
Sep 04, 2016 8:54
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

Thanks Kuan!

As Murphy law says: "The obviously correct data is the source of the error." :-D

What surprised me was that the FBDebung did not detected it.
May be musn´t do it with this kind of mistake, I do not know.
by Luis Babboni
Sep 03, 2016 2:40
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6939

Re: Soberango 0.00.0 (chess engine) realized.

More about the random I use to make it more clear. I need to make all possible moves for each piece. The random is just used at the begining of each move (each move, not each ply of the search), to determine the order of the pieces and the order of the moves of each piece I will examine. This helps ...
by Luis Babboni
Sep 03, 2016 2:11
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6939

Re: Soberango 0.00.0 (chess engine) realized.

Thanks for your time frisian!! I think all your comments are right, but some have more influence than others in the engine speed. I think that as a good programmer you feel horrorized with things like this about fill with zeros in a loop an array!! :-D I´ll change it in a future now you said. But ha...
by Luis Babboni
Sep 02, 2016 19:11
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

Luis, if you can produce a small, complete, compile-able, and run-able example that produces this error and post that code, then problems like this can be resolved much more quickly than making us guess at what could be the problem. Mmmm, I could not reproduce the same problem than before but somet...
by Luis Babboni
Sep 02, 2016 18:51
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

MrSwiss wrote:
Luis Babboni wrote:Mmmm, no, I do not know what is MOD operator.

MOD is the same as an integer division '\', except it returns the REST (instead of RESULT).

Therefore, a DIVISION by 0 (NULL/ZERO) always throws an exception (common knowledge!).


Ap, sorry, yes I know it. But I did not used it.
by Luis Babboni
Sep 02, 2016 15:01
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6939

Re: Soberango 0.00.0 (chess engine) realized.

I think I understadn now.... you compiled soberango have 190kb and my compiled have 370 kb, I´m right? Yes, that is exactly the point of frisian. Also, the advice given by frisian refer only to programming (in general) and not to any specific coding task (Chess-Engine). OK, I must be more carefully...
by Luis Babboni
Sep 02, 2016 14:58
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

for the moment after decided to use dims as integers instead of dim as singles. Hi Luis Babboni, do you use the MOD operator? I don't know but I have encountered silent crashes due to this operator when used for a division by zero or something like that. I don't know, just a suggestion that comes t...
by Luis Babboni
Sep 02, 2016 11:20
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

Hi Luis, Have you tried to define fbdebugger as the JIT debugger ? If no select this option in tools menu then close fbdebugger and start you program. I didn´t yesterday so I tried now. I changed some dims from integer to single to reproduce yesterday problem and now the program do not run but inst...
by Luis Babboni
Sep 01, 2016 22:13
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6939

Re: Soberango 0.00.0 (chess engine) realized.

frisian wrote:...
Only my program is about 190 Kb
...


Wich is your program? Numpty? I´m not sure. :-O

EDIT: I think I understadn now.... you compiled soberango have 190kb and my compiled have 370 kb, I´m right? Sorry but my english is not too good.
by Luis Babboni
Sep 01, 2016 22:10
Forum: Projects
Topic: Soberango 0.00.0 (chess engine) realized.
Replies: 44
Views: 6939

Re: Soberango 0.00.0 (chess engine) realized.

Thanks frisian for your tips! some I´ll could easy follow, others will be postponed for future versions. Actually I´m working to add to the engine moves ordering. My plan is first to try to understand the basic chess engines ideas. Still remains that´s moves ordering; quiescence search (I did it yet...
by Luis Babboni
Sep 01, 2016 21:48
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

I disabled the Just In Time VS debugger following this: https://msdn.microsoft.com/en-us/library/5hs4b7a6 and now not appear that signal anymore but the exe crash. Still with Run with Debug runs without anyproblem. :-/ As far as I know (I have visual studio 2005 and 2010),if the debugger jumped out...
by Luis Babboni
Sep 01, 2016 19:13
Forum: Beginners
Topic: Problem. "An unhandled win32 exception..."
Replies: 22
Views: 4366

Re: Problem. "An unhandled win32 exception..."

I disabled the Just In Time VS debugger following this:
https://msdn.microsoft.com/en-us/library/5hs4b7a6
and now not appear that signal anymore but the exe crash. Still with Run with Debug runs without anyproblem. :-/

Go to advanced search