hayden 发表于 2013-6-9 22:53:56

高手啊,要多多学习!!

l888888h 发表于 2013-6-26 20:32:42

翻译的help文档, 再接再厉, 加油

冷青瓷 发表于 2013-7-12 08:57:30

好东西,希望以后能多多指导

施主施格尔 发表于 2013-7-30 21:35:02

01.if( shapeType == “rect”

02.then

03.println( “Shape is a rectangle” )

04.++rectCount

05.else

06.println( “Shape is not a rectangle” )

07.++miscCount

08.)
这个代码的意思是 如果shapeType 等于“rect”
那么就会打印 铜皮是方形的
如果不是就不会打印方形的   请帮忙理解这个函数的意思 非常感谢

vivienluo 发表于 2013-7-30 22:10:23

施主施格尔 发表于 2013-7-30 21:35 static/image/common/back.gif
01.if( shapeType == “rect”

02.then


是的。
使用if来判断shapeType是否为“rect”,并打印出相应的信息。

duan 发表于 2013-8-12 23:58:27

楼主辛苦了!

wwwxxxjjj1 发表于 2013-11-22 09:57:05

很棒 新手要慢慢研究

chenhong72tv 发表于 2014-1-7 16:25:28

学习了,很好

eagle31 发表于 2014-1-22 15:19:10

研究研究学习学习

愚公 发表于 2014-3-27 19:09:33

foreach可以同时循环多了列表,这个你可以给新手补充下
页: 1 [2] 3 4 5 6
查看完整版本: Skill基础知识《循环操作、关系操作、逻辑操作、选择语句》的使用