Code center > Solved Bugs

Run-time error 13 in 2.37.4

(1/2) > >>

Testlund:
While running a simulation I clicked on the icon for 'Starting new simulation' to enter the GUI. I just remembered it's a bug I've reported about before. I think the crash is caused if I have changed the mutation to anything higher than 1/1 on the mutations tab.

The code (located in the Optionsform window at line 764:

MutLab.Caption = (TmpOpts.MutCurrMult) + " X"

Hovering info:

Mutlab.Caption = "32X" (yeah, it was set at 32X now, but it doesn't matter if it is set at 2X or 8X for example)

Tmp.Opts.MutCurrMult = 32

This is where I should post this, right?

Ulciscor:
Yep right place  :D

Surely you want the concat operator to form the string for the caption? Isn't it


--- Code: ---&
--- End code ---
and not


--- Code: ---+
--- End code ---
?

Testlund:
Umm... You mean I should change the + to & instead?

Ulciscor:
I s'pose you could try it. I'm nowhere near as good as [Num] [PY] or [Bots] though so you might want to take advice from them not me  :P

Testlund:
I guess you are right! No crashing anymore!  :boing: Let's just hope it doesn't affect how the mutation function work or anything.  :)

Navigation

[0] Message Index

[#] Next page

Go to full version