Language -Syntax
Most code generated from Workbench
instance method changePrice is public and transaction controlling
doc " changes price for a specified CD"
param inTitle type String
param newPrice type Integer
field localCd type CD is modifiable and nullable
localCd := findCd(inTitle)
if not (localCd is null) then
localCd.price := newPrice