我正在創建一個函數,用變量+變量名稱的格式顯示很多變量。 Define LibPub out(list)=
Func
Local X
for x,1,dim(list)
list[x]->name // How can I get the variable name here?
Disp name+list[x]
EndFor
Return 1
EndFunc
進出口試圖找出如何在Lua檢查一個字符串變量中有任何字母或數字,像這樣: myAwesomeVar = "hi there crazicrafter1"
if myAwesomeVar(has letters and numbers) then
print("It has letters and numbers!")
elseif myAwesomeVar(has letters