I thought I would try to load the Applesoft version of Hamurabi into ZBasic.
In the PRODos index to the ZBasic manual there is a section on just this subject. It says to use a procedure like we used to load Hamurabi into your word processor at line zero (0) and then go into ZBasic and load it.
I did that and then listed the new version. The only thing that jumped out was ZBasic padded the line numbers to 5 places with leading zeros and line 990 had an asterisk right after the line number.
I tried running it and got syntax errors at lines 322, 420, 445, 450, and 522. I looked at each line and there were spaces around the comparison operators, so <= turned into < = which ZBasic apparently does not like. I just retyped those lines without the extra spaces and that looks like it is fixed. For each line, I had to run the program and wait for the error, fix it and try again.
In line 990, I didn’t see what the problem was so I changed it from one line to 4:
00990*PRINT:FOR N=1 TO 10:PRINT CHR$(7);:NEXT Nbecame:
00990 PRINT 00991 FOR N=1 TO 10 00992 PRINT CHR$(7); 00993 NEXT NAfter making these changes, I was able to run and compile the game.

Did the Line look just like this:
00990*PRINT:FOR N=1 TO 10:PRINT CHR$(7);:NEXT N
=================
== 00990*PRINT ==
=================
Won’t work..
Yes, the line looked just like that when I loaded it into ZBasic. It didn’t look like that in Applesoft. I believe the asterisk is some sort of flag to tell you there is an error.
I tried typing the line over without the asterisk and it just put it back. Then I broke up the line and it worked fine.