- Timestamp:
- Jun 25, 2024, 1:21:58 PM (6 months ago)
- Branches:
- master
- Children:
- 343c8be, 62a38e7
- Parents:
- 6803ff1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/relatedwork.tex
r6803ff1 rd96d4f0 69 69 \begin{pascal} 70 70 day := Sat; 71 @wday := day;@ $\C[1.5in]{\{ invalid but allowed\}}$72 wend := day; $\C{\{ valid\}}$71 @wday := day;@ $\C[1.5in]{\{ check \}}$ 72 wend := day; $\C{\{ maybe check \}}$ 73 73 day := Mon; 74 wday := day; $\C{\{ valid\}}$75 @wend := day;@ $\C{\{ invalid but allowed\}}$76 day := wday; $\C{\{ valid\}}$77 day := wend; $\C{\{ valid\}}\CRT$74 wday := day; $\C{\{ maybe check \}}$ 75 @wend := day;@ $\C{\{ check \}}$ 76 day := wday; $\C{\{ no check \}}$ 77 day := wend; $\C{\{ no check \}}\CRT$ 78 78 \end{pascal} 79 There should be a static/dynamic range check to verify values .79 There should be a static/dynamic range check to verify values assigned to subtypes. 80 80 (Free Pascal does not check and aborts in certain situations, like writing an invalid enumerator.) 81 81
Note: See TracChangeset
for help on using the changeset viewer.