iT邦幫忙

0

APP inventor 2 做完執行後出現Bad arguments to +

ai2

執行後出現以下錯誤代碼,附上方塊請大大提點迷津
https://ithelp.ithome.com.tw/upload/images/20200312/20124489np9xMmWGgS.pnghttps://ithelp.ithome.com.tw/upload/images/20200312/201244893KA1VNHIOk.png

fillano iT邦超人 1 級 ‧ 2020-03-13 09:15:08 檢舉
前面不遠就有人問過了吧?
同一個人
補充 source code 而已
fillano iT邦超人 1 級 ‧ 2020-03-13 09:41:27 檢舉
了XD
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

1
海綿寶寶
iT邦大神 1 級 ‧ 2020-03-13 09:52:07
附上程式方塊沒有幫助
因為我根本沒法子看清楚程式

我再仔細看了錯誤訊息
The operation + cannot accept the arguments: ,[["20200311BN5",...
顧名思義
就是提供給+的資料型態不合法
程式提供給+的資料有兩個
1.空值(逗號前面)
2.[["20200311BN5",...
可能是錯誤原因

這得靠你自己改程式試試看
看看改掉那一個就可以執行
就知道問題原因了

Good luck.

我要發表回答

立即登入回答