7 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ogsirus

I found a bit of code which im unsure about in this poorly documented project im on. To be honest I havent got a clue what is going here. public void TestMethod(ISystemScriptingInterface system, ScriptEventArgs eventArgs) { var databaseScriptingInterface = system.GetInterface("database") as IDatabaseScriptingInterface; if (databaseScriptingInterface == null) { throw system.GetException(LocalisedSystemText.InternalServerError(), "Database …

Member Avatar for deceptikon
0
230
Member Avatar for Labdabeta

Hello, I have a particular set up of cast operators and constructors which is leading to a compile-time ambiguity error. I am wondering if somebody can explain why this is happening and what can be done to fix it. For example, here we have 2 classes: class A { int …

Member Avatar for Labdabeta
0
312
Member Avatar for CoilFyzx

Hello good day. Thank you for trying to help. My problem is as follows. A few columns in my table, use a JComboBox as the editor for their cells. Each cell, in a row (via JComboBox) presents the same choices to the user. The user is allowed to choose from …

Member Avatar for mKorbel
0
1K
Member Avatar for spowel4

I understand that when casting a string to a float, php will evaluate from left to right and stop at the first invalid character. So for example, the string "1-23" will cast to a 1. I need to evaluate the entire string though, so that the string "1-23" would not …

Member Avatar for spowel4
0
219
Member Avatar for smantscheff

I just stumbled over this: [ICODE]mysql> select "abc" = 0; +-----------+ | "abc" = 0 | +-----------+ | 1 | +-----------+ 1 row in set, 1 warning (0.06 sec) mysql> show warnings; +---------+------+-----------------------------------------+ | Level | Code | Message | +---------+------+-----------------------------------------+ | Warning | 1292 | Truncated incorrect DOUBLE value: …

Member Avatar for pritaeas
0
312
Member Avatar for rotexhawk

I get the following error from running this code. Was wondering if 'i' and 'j' are considered objects. If yes is there any way i could cast them..... How do i write a better for loop for this.... array2D = [[0 for i in range(10)]for j in range(10)] for i …

Member Avatar for djidjadji
0
205
Member Avatar for majesticmanish

Hi all, In one RTOS, i'm debugging one issue which is, program is crashing one point always when it send a 8-bit value (Lets call it 'Int8 rogue_int')to a function (lets call it 'Infected( Int16 )' ) whose definition is taking that variable as 16-bit variable. Before entering to that …

Member Avatar for majesticmanish
0
139

The End.