jrincayc / ucblogo-code

Berkeley Logo interpreter
https://people.eecs.berkeley.edu/~bh/logo.html
GNU General Public License v3.0
187 stars 34 forks source link

ISSUE-138: Rename special character commands during Windows build #147

Closed dmalec closed 1 year ago

dmalec commented 1 year ago

Resolves #138

Summary

The Windows build was not renaming the two special character library procedures from:

to

This change renames the files during the install so the renamed files can be picked up by inno for packaging.

Testing

Without this change, the two commands do not work under Windows (given a clean install of 6.2.2 or a clean install of ucblogo623RCsetup.exe ):

? repeat 5 [ print # ]
I don't know how  to #

? print first (cascade 4 "bf [The Continuing Story of Bungalow Bill])
I don't know how  to `  in cascade
[if numberp :cascade.limit [if lessp :cascade.limit 0 [(throw "error (se [cascade doesn't like] :cascade.limit [as input] ))] make "cascade.limit ` [greaterp :template.number , [int :cascade.limit]]]]

After the change, the two commands work (given a clean install from the new build):

? repeat 5 [ print # ]
1
2
3
4
5

? print first (cascade 4 "bf [The Continuing Story of Bungalow Bill])
Bungalow

Test Environments