MediaTek-Labs / BlocklyDuino-for-LinkIt

BlocklyDuino Editor for Arduino.
https://mediatek-labs.github.io/BlocklyDuino-for-LinkIt/
55 stars 38 forks source link

請新增字串連接運算積木 #193

Closed jackjeanab closed 6 years ago

jackjeanab commented 6 years ago

例如: String A = "ABC"; A = A + "123"; //這個連接運算

pablosun commented 6 years ago

The blocks are already implemented in v2. But there are no code generation routines. We can simply add the code generation routines to:

String() + user_input1 + user_input2 + ...
pablosun commented 6 years ago

Hi @jackjeanab ,請問這樣子的 block 是否合乎您的需求?(按「星號」可以添加新的字串)

請看圖例裡面的「串接文字」block: image

jackjeanab commented 6 years ago

OK Thank you so much!