Instead of using a function to return a property, it's easier just to reference the property directly.
For example, to return the Damage property of the object IronDagger, use #IronDagger:Damage#
To generalise this to return the Damage property for the object referenced by the string variable "myobject", use #(myobject):Damage#
The documentation page for this is here:
http://www.axeuk.com/quest/developer/do ... erties.htmTo answer questions 2 and 3, ASL doesn't worry about data types, so you can assign a string value to a numeric variable without having to do any explicit conversion.