getFileExtension
FileExtensions의 명명된 파일 형식의 파일 확장자 가져오기
구문
value = h.getFileExtension(name)
입력 인수
출력 인수
예제
tc = coder.make.ToolchainInfo; tool = tc.getBuildTool('C Compiler'); blditm = coder.make.BuildItem('CD','.cd')
bldtm = Macro : CD Value : .cd
tool.addFileExtension('SourceX',blditm) value = tool.getFileExtension('SourceX')
value = .cd
tool.setFileExtension('SourceX','.ef') value = tool.getFileExtension('SourceX')
value = .ef
버전 내역
R2013a에 개발됨