Hi,
I may just be suffering from sleep deprivation or something but I thought Int extends from Object which means I can pass an Int to a function parameter which is an Object?
I tried passing an Int to the extra parameter of AddGadgetItem which is an Object and it told me it couldn't convert an Int to an Object. I now have a Type which just has an Int field so I can pass that instead. Surely if I can pass my Type I can pass an Int?
I'm not completely with it today so I might just be confused but I was sure it worked before. I also did a syncmods to see fi that helped but it didn't.
Thanks for any help you can give,
Matthew
I may just be suffering from sleep deprivation or something but I thought Int extends from Object which means I can pass an Int to a function parameter which is an Object?
I tried passing an Int to the extra parameter of AddGadgetItem which is an Object and it told me it couldn't convert an Int to an Object. I now have a Type which just has an Int field so I can pass that instead. Surely if I can pass my Type I can pass an Int?
I'm not completely with it today so I might just be confused but I was sure it worked before. I also did a syncmods to see fi that helped but it didn't.
Thanks for any help you can give,
Matthew