ziele说,仅仅使用csv比从excel中读取要容易得多,是的,你可以读取我使用GETEXCEL的excel单元格值。lsp
进一步查看,您可以构建一个大列表,将csv文件的每一行组合在一起
- (("PAD1" "PAD2" "PAD3" "PAD4")
- ("WIDTH1" "400" "350" "" "")
- ("LENGTH1" "500" "460" "" "")
- ("HEIGHT1" "100" "80" "" "")
- ("WIDTH2" "300" "300" "" "")
- ("LENGTH2" "400" "350" "" "")
- ("HEIGHT2" "80" "70" "" "")
- ("WIDTH3" "200" "250" "" "")
- ("LENGTH3" "300" "300" "" "")
- ("HEIGHT3" "60" "60" "" "")
- ("WIDTH_COL" "40" "40" "" "")
- ("LENGTH_COL" "80" "80" "" ""))
在双重复循环中使用第n个函数,可以为这部分代码提取正确的值
- W1 (getreal "\nEnter Width Of Pad (cm) :")
- L1 (getreal "\nEnter Length Of Pad (cm) :")
- H1 (getreal "\nEnter Hight Of Pad (cm) :")
- W2 (getreal "\nEnter Width2 Of Pad (cm) :")
- L2 (getreal "\nEnter Length2 Of Pad (cm) :")
- H2 (getreal "\nEnter Hight2 Of Pad (cm) :")
- W3 (getreal "\nEnter Width3 Of Pad (cm) :")
- L3 (getreal "\nEnter Length3 Of Pad (cm) :")
- H3 (getreal "\nEnter Hight3 Of Pad (cm) :")
- W4 (getreal "\nEnter Width Of Col (cm) :")
- L4 (getreal "\nEnter Length Of Col (cm) :")
获取Excel。lsp |