[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: class properties as raw

  • Thread starter Thread starter Dileep Dasa
  • Start date Start date
Status
Not open for further replies.
D

Dileep Dasa

Guest
I tried running this code but ended up in multiple errors (CONSTRUCTOR missing parentheses, Unknown field TestRawProp, Incompatible data types in assignment etc). I fixed all these and I get the expected output. Please see the following code. If there is something else you are running, please provide complete ABL code. Class TestRawProp: define private property rHexCode as raw get. set. constructor public TestRawProp(): def var rTemp as raw. put-string(rTemp,1) = "Test". rHexCode = rTemp. PUT-STRING(rTemp,1) = "". rTemp = rHexCode. message get-string(rTemp,1) view-as alert-box. end constructor. end class. DEFINE VAR trp AS CLASS TestRawProp. trp = NEW TestRawProp().

Continue reading...
 
Status
Not open for further replies.
Back
Top