p*********g 发帖数: 9527 | |
c*********r 发帖数: 2733 | |
c*******e 发帖数: 514 | |
H******7 发帖数: 34403 | |
l****y 发帖数: 4773 | 5 if pic==1
print("hehe")
elseif
print("say jb") |
wy 发帖数: 14511 | 6 1. it was javascript, what is the language you used?
2. you missed an end or something to tell compiler the if statement ends
3. it is else without if since you don't have a condition taht follows
【在 l****y 的大作中提到】![](/moin_static193/solenoid/img/up.png) : if pic==1 : print("hehe") : elseif : print("say jb")
|
l****y 发帖数: 4773 | 7 呵呵俺就写着玩玩,其实我刚开始看c++和python,啥也不会。
【在 wy 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 1. it was javascript, what is the language you used? : 2. you missed an end or something to tell compiler the if statement ends : 3. it is else without if since you don't have a condition taht follows
|
w*******g 发帖数: 9932 | 8 i think he is using ruby like syntax elsif is legal though end is needed
【在 wy 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 1. it was javascript, what is the language you used? : 2. you missed an end or something to tell compiler the if statement ends : 3. it is else without if since you don't have a condition taht follows
|
z*****n 发帖数: 7639 | 9 !pic ? alert('jb'):return;
【在 l****y 的大作中提到】![](/moin_static193/solenoid/img/up.png) : if pic==1 : print("hehe") : elseif : print("say jb")
|