InsideMacintosh icon indicating copy to clipboard operation
InsideMacintosh copied to clipboard

Sample.TEXT (sample.p) has messed up newlines

Open greenonline opened this issue 10 months ago • 2 comments

The formatting of Sample.TEXT is messed up and it appears on one line. Might be due to CR/LF issue. However, the other two files are ok. Mind you, that said, it does make it more "fun" to fix, I guess... :-)

Also, minor point, they should probably be named Sample.p, Sample.r and Sample.make.

Thanks for uploading these btw. Copying from the PDFs leads to endless OCR-type related typos.

BTW, you might be interested in this code, taken from the MPW book, Creation_from_Programmers_Guide_to_MPW_1990. I'm on the look out for more Pascal source code for the Mac. I've only found the Lisa OS, MacPaint and QuickDraw, so far...

greenonline avatar Apr 12 '24 20:04 greenonline

Sample.TEXT should be in the correct format for compiling with Lisa Workshop, last I took a look (not sure if that's MacRoman or otherwise). It's been a long time, but I believe all of these files were copied out as-is from Lisa Workshop after being manually transcribed, compiled and tested — they will for sure need changes to compile in later tools like MPW

steventroughtonsmith avatar Apr 12 '24 20:04 steventroughtonsmith

Ah, that probably explains it: Lisa Workshop vs. Macintosh Workshop. Thanks. Still, it is odd that the other two files display correctly and have newlines. Anyway, no worries.

Thanks for the quick come back.

FWIW, this is what they look like in MPW (strangely Sample.TEXT looks fine, but the others not so):

MPW - Lisa - Inside Macintosh

greenonline avatar Apr 12 '24 20:04 greenonline