요청하신 자료를 사용할 수 없습니다. 이 버전의 제품에 적용되지 않거나 이 버전의 문서에서 관련 정보가 다르게 구성되어 있습니다. 제안 작업: 검색, 찾아보기 또는 다른 버전으로 돌아가기.
본 한국어 번역은 사용자 편의를 위해 제공되는 기계 번역입니다. 영어 버전과 한국어 버전이 서로 어긋나는 경우에는 언제나 영어 버전이 우선합니다.
코멘트에 대한 지침
기여자
-
이 문서 사이트의 PDF
-
Linux 설치 및 설정
-
Windows 설치 및 설정
-

별도의 PDF 문서 모음
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
WFA(OnCommand Workflow Automation)용 스크립트에서 PowerShell 및 Perl 설명에 대한 지침을 반드시 숙지하십시오.
PowerShell 설명
지침 | 예 |
---|---|
한 줄 코멘트에 # 문자를 사용합니다. |
# Single line comment $options=$option.trim(); |
줄 끝 코멘트의 경우 # 문자를 사용합니다. |
$options=$option.trim(); # End of line comment |
블록 코멘트에 <# 및 #> 문자를 사용합니다. |
<# This is a block comment #> $options=$option.trim(); |
Perl 설명
지침 | 예 |
---|---|
한 줄 코멘트에 # 문자를 사용합니다. |
# convert from MBytes to Bytes my $MaxDirectorySizeBytes = $MaxDirectorySize * 1024 * 1024; |
줄 설명 끝에 # 문자를 사용합니다. |
my $MaxDirectorySizeBytes = $MaxDirect orySiZe * 1024 * 1024; # convert to Bytes |
시작 부분과 끝 부분에 빈 #이 있는 모든 줄의 #문자를 사용하여 여러 줄 메모에 대한 설명 테두리를 만듭니다. |
# # This is a multi-line comment. Perl 5, unlike # Powershell, does not have direct support for # multi-line comments. Please use a '#'in every line # with an empty '#' at the beginning and end to create # a comment border # |
WFA 명령에 주석 및 비활성 코드를 포함하지 마십시오. 그러나 테스트를 위해 POD(Plain Old Documentation) 메커니즘을 사용하여 코드를 주석 처리할 수 있습니다. |
=begin comment # Set deduplication if(defined $Deduplication && $Deduplication eq "enabled") { $wfaUtil->sendLog("Enabling Deduplication"); } =end comment =cut |