[Migrated content. Thread originally posted on 12 December 2011]
Hello,I want to implement a property, like this one:
public SortOrder Order
{
set
{
OrderOfSort = value;
}
get
{
return OrderOfSort;
}
}
Then, I need to reference it in this manner:
private SortOrder OrderOfSort;
OrderOfSort = SortOrder.None;
I am not sure if it will work like expected:
01 _orderOfSort binary-long.
method-id set property #orderOfSort.
procedure division using by value val as binary-long.
set _orderOfSort to val.
end method.
method-id get property #orderOfSort.
procedure division returning ret as binary-long.
set ret to _orderOfSort.
end method.
I will appreciate some help, thank you.