我想在 VI 终端中打开一个 .4gl 文件并写入它,这是我目前拥有的代码:
let p_command = "test -f ", MTGENDIR CLIPPED,"/",p_prog clipped,".4gl"
run p_command returning p_status
let p_command = "vi ",p_prog clipped,".4gl"
--let p_command = "w ",p_prog clipped,".4gl"
--let p_command = ":w ",p_prog clipped,".4gl"
run p_command
这是我在调试器进入步骤 vi 后遇到的错误,然后它挂起:
(fgldb) next
376 let p_command = "vi ",p_prog clipped,".4gl"
(fgldb) next
377 run p_command
(fgldb) next
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
如果我尝试使用上面的注释代码(w 或:w)编写它会崩溃并显示此错误:
The DVM process crashed. Please contact FourJs support.
DVM has encountered a problem. Execution of 'mt_gen' stopped
有没有其他方法可以写入 Genero 中的 .4gl 文件?