This converts a string to an unprotected program. Str7 contains the name of the program. Ans contains the string to convert.

When it returns, Ans will be an error indicator. 0 means all is well, 1 means Str7 doesn't exist, 2 means it's archived.

Example:
"TEST->Str7
"While 1:GarbageCollect:End
Asm(prgmSTR2PRGM
If(not(Ans
Disp "WORKED

Comment in and out some stuff in the source to make the colons from the string in Ans be hard returns in the program.