我正在使用Qt Designer,当我保存我的工作时,它会生成一个空的.ui文件(0字节)
$List = ("A1","A2","A4","B3","B5")
"A","B","C" | ForEach-Object {
"Checking {0}" -f $_
if ($List -match "^$_"){
"$($_):True"
Set-Variable -Name "$_" -Value $True
} else {
"$($_):False"
Set-Variable -Name "$_" -Value $False
}
}
返回
输入文件出错:未找到任何元素:第1行,第0列