{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,9,19]],"date-time":"2025-09-19T09:27:18Z","timestamp":1758274038379},"reference-count":9,"publisher":"Wiley","issue":"6","license":[{"start":{"date-parts":[[2006,10,27]],"date-time":"2006-10-27T00:00:00Z","timestamp":1161907200000},"content-version":"vor","delay-in-days":8914,"URL":"http:\/\/onlinelibrary.wiley.com\/termsAndConditions#vor"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Softw Pract Exp"],"published-print":{"date-parts":[[1982,6]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Some recent work implies that user\u2010defined two\u2010state scalar variables, as available in Pascal, are a significant improvement on booleans. Accordingly, alternative ways of expressing conditionals suggest themselves.<\/jats:p><jats:p>Four different way of expressing the same simple conditional are presented. Two widely available compilers are tested and it is discovered that neither produces the same object code for all four cases. It is argued that the same code should be produced, for at least three of the cases, and the feasibility of this is examined.<\/jats:p>","DOI":"10.1002\/spe.4380120608","type":"journal-article","created":{"date-parts":[[2006,11,18]],"date-time":"2006-11-18T02:40:38Z","timestamp":1163817638000},"page":"571-581","source":"Crossref","is-referenced-by-count":4,"title":["Optimizing two\u2010state case statements in Pascal"],"prefix":"10.1002","volume":"12","author":[{"given":"L. V.","family":"Atkinson","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"311","published-online":{"date-parts":[[2006,10,27]]},"reference":[{"key":"e_1_2_1_2_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0020-7373(77)80045-X"},{"key":"e_1_2_1_3_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380090902"},{"key":"e_1_2_1_4_2","volume-title":"Pascal\u2014User Manual and Report","author":"Jensen K.","year":"1978"},{"key":"e_1_2_1_5_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380070311"},{"key":"e_1_2_1_6_2","unstructured":"J.Welsh \u2018Two ICL 1900 Pascal compilers\u2019 Proc. Symp. on Pascal\u2014The language and its implementation Southampton 1977."},{"key":"e_1_2_1_7_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380080110"},{"key":"e_1_2_1_8_2","first-page":"66","article-title":"Know the state you are in","volume":"13","author":"Atkinson L. V.","year":"1978","journal-title":"Pascal News"},{"key":"e_1_2_1_9_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380090602"},{"key":"e_1_2_1_10_2","first-page":"60","article-title":"A contribution to minimal subranging","volume":"15","author":"Atkinson L. V.","year":"1979","journal-title":"Pascal News"}],"container-title":["Software: Practice and Experience"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/api.wiley.com\/onlinelibrary\/tdm\/v1\/articles\/10.1002%2Fspe.4380120608","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1002\/spe.4380120608","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,11,12]],"date-time":"2023-11-12T14:45:35Z","timestamp":1699800335000},"score":1,"resource":{"primary":{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/10.1002\/spe.4380120608"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1982,6]]},"references-count":9,"journal-issue":{"issue":"6","published-print":{"date-parts":[[1982,6]]}},"alternative-id":["10.1002\/spe.4380120608"],"URL":"https:\/\/doi.org\/10.1002\/spe.4380120608","archive":["Portico"],"relation":{},"ISSN":["0038-0644","1097-024X"],"issn-type":[{"value":"0038-0644","type":"print"},{"value":"1097-024X","type":"electronic"}],"subject":[],"published":{"date-parts":[[1982,6]]}}}