frisian wrote:Luis Babboni wrote: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.
Code: Select all
If espacios = 5 Then
hmV = hmV * 10 + val(Char)
Comments are removed for a better view of the code.
This piece of code does not need to know what the size is, it works on numbers from 0 to 1000000000. Sweet and simple.
The more code you have the greater chance you have on errors. Keep It Simple, Stupid.
Thanks again, I will fix it in future versions and I´ll take more care to it from now on in new code.
frisian wrote:Luis Babboni wrote:Sorry if I´m asking a fool question:
You be sure if is not just cause Soberango scores are always from white side no matter the side Soberango is playing
If that's the case you have a problem, all chess programs rate good position and/or more pieces then there opponent with a positive number. And bad position and/or less pieces with a negative number regardless off the color they are playing with. The working of Xboard and Arena is based on that principle.
Actually I think it could make my code more complicated but I do not think it make some kind of compability problem with Xboard or any GUI.
In any case I made a question about it in TalkChess.com :
to be sure after your warning!
Thanks frisian for your time!