설명
기고자: Lutz Westermann, 2012년 10월
소형 모델 유형 :델파이
카테고리 : 슬롯 사이트 API 라이브러리
메인 파일 : DOex1.gms
$title 'GDX를 읽고 쓰기 위한 전문가 수준의 델파이(객체) API 테스트' (DOEX1,SEQ=7)
$onText
기고자: Lutz Westermann, 2012년 10월
$offText
$set srcRoot %슬롯 사이트sysdir%apifiles%system.dirsep%Delphi%system.dirsep%
$dcomp를 설정하지 않은 경우 $set dcomp MSBuild
$if %system.platform% == WEX
$플래그가 설정되지 않은 경우 $set flags -t:rebuild -p:Configuration=Release -p:Platform="Win64"
$call rm -rf Demanddata.gdx
$call %dcomp% "%srcRoot%xp_example1do.dproj" %flags%
$if errorlevel 1 $abort 'xp_example1do.dpr 컴파일 문제'
$call ="%srcRoot%xp_example1do" "%슬롯 사이트sysdir%."
$if errorlevel 1 $abort 'xp_example1do GDX 파일 쓰기 실행 중 문제 발생'
$call gdxdiffdemanddata.gdxdemandwant.gdx
$if errorlevel 1 $abort '수요 데이터가 예상과 다릅니다.'
$call ="%srcRoot%xp_example1do" "%슬롯 사이트sysdir%." trnsport.gdx
$if errorlevel 1 $abort 'xp_example1do GDX 파일 읽기 실행 중 문제 발생'