|
Hy! I use this sort. Work perfect, but i use #pragma strict, #pragma implicit, #pragma downcast = console error 'Time' is not a member of 'Object'. How to fix this?
(comments are locked)
|
|
You need to specify your object types if you use strict. Or else they will just be treated as Objects. So in SortTime() you need to give those parameters types, like you have in AddFinish().
Obviously without the angle brackets. Thanks the help!
Apr 11 '11 at 08:54 AM
user-10013 (google)
Can i help another problem? How sort Info.Name? function SortTime(thisObject : Info ,thatObject : Info ) { Dont work error: Operator '>' cannot be used with a left hand side of type 'String' and a right hand side of type 'String'. I tried it too: function SortTime(thisObject : Info ,thatObject : Info ) { but does not work. How fix this?
Apr 16 '11 at 08:28 AM
user-10013 (google)
(comments are locked)
|
|
Can i help another problem? How sort Info.Name? I change SortTime function:
Dont work error: Operator '>' cannot be used with a left hand side of type 'String' and a right hand side of type 'String'. I tried it too:
but does not work. How fix this? You should post this as a new question. Not many other people will see this because this thread is marked as answered. Also, you should just never ask a question in an answer post.
Apr 17 '11 at 07:01 AM
KeithK
Ok, Sorry and thanks!
Apr 17 '11 at 11:58 AM
user-10013 (google)
(comments are locked)
|
