使用Harbor从Clipper转换时出错

时间:2014-01-27 11:27:34

标签: clipper

我已经在限幅器中创建了一个测试项目。

以下是test.prg的代码

store space(1) to mT
@ 10,10 say "hellow Time :" get mT pict "!"
read 

这是生成的hbp文件代码:

-3rd=hbide_version=1.0
-3rd=hbide_type=Executable
-3rd=hbide_title=test
-3rd=hbide_location=d:\hcjs\
-3rd=hbide_workingfolder=
-3rd=hbide_destinationfolder=
-3rd=hbide_output=test
-3rd=hbide_launchparams=
-3rd=hbide_launchprogram=
-3rd=hbide_backupfolder=
-3rd=hbide_xhb=NO
-3rd=hbide_xpp=NO
-3rd=hbide_clp=YES

-inc
-mt
-w3
-es2
-gtwvg
-gui
-lhbwin
-lxhb

test.prg 

我已按照以下步骤操作:

1. Open Project
2. I select test.hbp
3. Right-click on Select an environment
4. Select MinGW
5. Again Right Click then Build And Launch

转换不成功。我收到一些错误。错误如下:

1. Warning: Ambiguous Reference 'mT'
2. Warning: Ambiguous Reference 'GETLIST'
3. Warning: Ambiguous Reference 'GETLIST'
4. Warning: Ambiguous Reference 'GETLIST'
5. Warning: Ambiguous Reference 'GETLIST'
6. Warning: Ambiguous Reference 'GETLIST'

Sorry, cannot launch project because of errors

1 个答案:

答案 0 :(得分:1)

顺便说一句,这是一个警告,而不是一个错误。该计划应该运作得很好。

删除警告,将这些行添加到文件顶部:

LOCAL GetList := {} 
LOCAL mT