OPINION
The question before the court is whether individuals who receive probation pursuant to a guilty plea may have records of their arrests and probations expunged because the legislature failed to update a reference in the expunction statute when it consolidated the misdemeanor and felony probation laws. We hold that under the Code Construction Act, the meaning and scope of a statute which references the provisions of a subsequently repealed statute does not change, absent clear legislative intent to the contrary.
In March 1988, J.T.S. pleaded guilty to possession of less than two ounces of marijuana under section 481.121(b)(1) of the Texas Health and Safety Code. The trial court deferred adjudication for six months and imposed probation under article 42.12, section 5 of the Texas Code of Criminal Procedure. The trial court dismissed proceedings and discharged J.T.S.’s probation in June of 1988. J.T.S. requested and re
*573
ceived expunction of her arrest and probation records under an erroneous construction of the version of article 55.01 of Texas Code of Criminal Procedure then in effect.
1
The Harris County District Attorney’s Office appealed the expunction, and the court of appeals affirmed.
In 1988, when J.T.S. pleaded guilty, article 55.01 of the Texas Code of Criminal Procedure provided a right to expunction of records and files relating to an arrest if three criteria were met. The first and third requirements for expunction are not at issue here. The second requirement was:
(2) [the person seeking expunction] has been released and the charge, if any, has not resulted in a final conviction and, is no longer pending and there was not court ordered supervision under Article 42.13, Code of Criminal Procedure, 1965, as amended, nor a conditional discharge under Section 4.12 of the Texas Controlled Substances Act (Article 4476-15, Vernon’s Texas Civil Statutes).
Act of June 13, 1979, 66th Leg., R.S., ch. 604, § 1, 1979 Tex.Gen.Laws 1333 (amended 1989) (current version at Tex.Code Crim. Proc. art. 55.01 (Vernon Supp.1991)) [emphasis added]. Before 1985, article 42.12 was the probation law for felonies, and article 42.13 was the probation law for misdemeanors.
See Roy v. State,
The Code Construction Act controls when interpreting the Code of Criminal Procedure. Tex.Gov’t Code Ann. ch. 311 (Vernon 1988);
Barbee v. State,
When interpreting a statute, whether or not ambiguous, a court may consider the object sought to be obtained and the legislative history. Tex.Gov’t Code Ann. § 311.023(1), (3) (Vernon 1988). The primary goal of statutory construction is to effectuate the intent of the legislature.
See Seay v. Hall,
In addition, a court must presume that the entire statute was intended to be effective. Tex.Gov’t Code Ann. § 311.021(2). The reference in article 55.01 to article 42.13 must be presumed to have some meaning.
See Carbide Int’l, Ltd. v. State,
Lastly, a court may consider the consequences that may flow from a particular construction, presuming that a just and reasonable result is intended and that the public interest is to be favored over any private interest. Tex.Gov’t Code Ann. §§ 311.021(3), (5); 311.023(5);
see Ceaser,
For the above stated reasons, we reverse the judgment of the court of appeals and render judgment denying expunction.
Notes
. Act of June 13, 1979, 66th Leg., R.S., ch. 604, § 1, 1979 Tex.Gen.Laws 1333, amended by Act of June 15, 1989, 71st Leg., R.S., ch. 803, § 1, 1989 Tex.Gen.Laws 3666 (current version at Tex.Code Crim.Proc.Ann. art. 55.01 (Vernon Supp.1991)).
. See Act of June 11, 1985, 69th Leg., R.S., ch. 427, § 3, 1985 Tex.Gen.Laws 1531, 1555. Felony deferred adjudication probation (under former article 42.12) and misdemeanor deferred adjudication probation (under former article 42.13) had almost identical characteristics. The only substantive difference between former articles 42.12 and 42.13 regarding deferred adjudication was that under article 42.12, felony probation could last no longer than 10 years, and under article 42.13, misdemeanor probation could last no longer than the possible prison term for the offense. Compare Act of June 13, 1979, 66th Leg., R.S., ch. 654, § 1, 1979 Tex.Gen. Laws 1514, 1516 (repealed 1985) with Act of June 11, 1985, 69th Leg., R.S., ch. 427, § 1, 1985 Tex.Gen.Laws 1531, 1533 (current version at Tex.Code Crim.Proc. art. 42.12 (Vernon Supp. 1991)).
In 1985, the legislature also added provisions to article 42.13 which were unrelated to deferred adjudication. See Act of June 3, 1985, 69th Leg., R.S., ch. 239, § 25, 1985 Tex.Gen. Laws 1181, 1188 (probation fees); Act of June 13, 1985, 69th Leg., R.S., ch. 595, § 4, 1985 Tex.Gen.Laws 2238, 2240 (terms of probation for misdemeanor probation); Act of June 14, 1985, 69th Leg., R.S., ch. 632, §§ 14, 15, 1985 Tex.Gen.Laws 2328, 2339-40 (mandatory jail time and evaluation for convicted probationers); all repealed by Act of June 20, 1987, 70th Leg., ch. 939, § 24, 1987 Tex.Gen.Laws 3132, 3144. See Tex.Gov’t Code Ann. § 311.031 (Vernon 1988) (repeal of statute does not affect amendment of statute by same legislature).
In 1987, the legislature repealed the article altogether. Act of June 20, 1987, 79th Leg., R.S., ch. 939, § 24, 1987 Tex.Gen.Laws 3132, 3144. In 1989, the legislature created a new article 42.13 dealing with the Community Justice Assistance program. See Act of June 15, 1989, 71st Leg., R.S., ch. 785, § 3.01, 1989 Tex. Gen.Laws 3471, 3478.
.The problem presented by this case does not arise for offenses committed on or after September 1, 1989 because the 1989 amendment to article 55.01 refers to probation under article 42.12, not article 42.13. Tex.Code Crim.Proc. Ann. art. 55.01 (Vernon Supp.1991).
