diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-01-22 12:05:24 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-01-22 12:05:24 -0800 |
commit | ab6e672d4e0a0bf92254df59f0cd8c66492a8ad0 (patch) | |
tree | cb73b9bec6e3583ba09a3183e0b786cc14141d21 /edit | |
parent | 42f08f13b2fbbaab65783124553ac3022af8fa02 (diff) | |
download | mu-ab6e672d4e0a0bf92254df59f0cd8c66492a8ad0.tar.gz |
3735 - get rid of 'print-integer'
We do support printing non-integer numbers for some time, albeit using the underlying host platform.
Diffstat (limited to 'edit')
-rw-r--r-- | edit/005-sandbox.mu | 4 | ||||
-rw-r--r-- | edit/008-sandbox-edit.mu | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/edit/005-sandbox.mu b/edit/005-sandbox.mu index 7476875d..dac50c83 100644 --- a/edit/005-sandbox.mu +++ b/edit/005-sandbox.mu @@ -580,7 +580,7 @@ scenario run-instruction-manages-screen-per-sandbox [ assume-resources [ ] # sandbox editor contains an instruction - env:&:environment <- new-programming-environment resources, screen, [print-integer screen, 4] # contents of sandbox editor + env:&:environment <- new-programming-environment resources, screen, [print screen, 4] # contents of sandbox editor # run the code in the editor assume-console [ press F4 @@ -594,7 +594,7 @@ scenario run-instruction-manages-screen-per-sandbox [ . ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . - . ┊print-integer screen, 4 . + . ┊print screen, 4 . . ┊screen: . . ┊ .4 . . . ┊ . . . diff --git a/edit/008-sandbox-edit.mu b/edit/008-sandbox-edit.mu index a857e88c..dd5c1bb9 100644 --- a/edit/008-sandbox-edit.mu +++ b/edit/008-sandbox-edit.mu @@ -165,7 +165,7 @@ scenario sandbox-with-print-can-be-edited [ assume-resources [ ] # right editor contains a print instruction - env:&:environment <- new-programming-environment resources, screen, [print-integer screen, 4] + env:&:environment <- new-programming-environment resources, screen, [print screen, 4] # run the sandbox assume-console [ press F4 @@ -176,7 +176,7 @@ scenario sandbox-with-print-can-be-edited [ . ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . - . ┊print-integer screen, 4 . + . ┊print screen, 4 . . ┊screen: . . ┊ .4 . . . ┊ . . . @@ -195,7 +195,7 @@ scenario sandbox-with-print-can-be-edited [ ] screen-should-contain [ . run (F4) . - . ┊print-integer screen, 4 . + . ┊print screen, 4 . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . . ┊ . |