I made a disk image creation and conversion tool

Try it - it will be replaced with upon compiling.

I have tried it, I get syntax error.

Ok I see. I tried in it Script Debugger so I guess it’s an SD feature. Script Editor doesn’t accept != at all.

What does “corrupt” mean?

Are you talking about text encoding ? Script Editor, for example, usually saves text files using Mac Roman encoding. If this is then opened using Latin-1 (another common 8-bit character encoding), a line continuation character (¬) will appear as Â, and an inequality sign () may not be visible.

You can use /= in place of . Script Editor will make the substitution automatically when compiled, but it is fine to use when saving as plain text.