プレイ日記
PikaRyan papermariofanmm
...It says my Say command is wrong but when i used my b command it works what am i doing wrong...
1そうだね
プレイ済み
返信[1]
親投稿
PikaRyan papermariofanmm
ps. this is a wip simple interpiter (simple is a language i made) also the code above is wrong that was a old version here is the latest of the code
0そうだね
プレイ済み
返信[2]
親投稿
T.J. Gamer zagg17
why not just use print or ?
1そうだね
未プレイ
返信[3]
親投稿
T.J. Gamer zagg17
and the issue is there is no space between say and "HI"
0そうだね
未プレイ
返信[4]
親投稿
PikaRyan papermariofanmm
i put the space....it just looks weird in the photo.... the error is uninitialized var in 6 me: whaaaa
0そうだね
プレイ済み
返信[5]
親投稿
T.J. Gamer zagg17
no you gotta take the space back..
0そうだね
未プレイ
返信[6]
親投稿
T.J. Gamer zagg17
there isn't supposed to be a space in between say and "hi"
0そうだね
未プレイ
返信[7]
親投稿
PikaRyan papermariofanmm
this is a simple interpiter (interpiter on ptc i made) im trying to make it simpler for new programmers so if someone says -say "hello world" it works for them
0そうだね
プレイ済み
返信[8]
親投稿
PikaRyan papermariofanmm
oh no lol thanks tj but there is another problem...it says uninitialized variable in 0:6 whaaa?
0そうだね
プレイ済み
返信[9]
親投稿
T.J. Gamer zagg17
you can just use ? as print you know
1そうだね
未プレイ
返信[10]
親投稿
T.J. Gamer zagg17
at the top of the program put VAR SAY
1そうだね
未プレイ
返信[11]
親投稿
PikaRyan papermariofanmm
like example of simple language say"my game" makeasprite 0,2 say"this is bob" say"he is a sprite" movesprite 0,100,50 say"sprites move and stuff" (thats how it will work)
0そうだね
プレイ済み
返信[12]
親投稿
PikaRyan papermariofanmm
this isn't for me tj this is for the people to help newbies be able to program in smilebasic its a library say is print makeasprite is spset and spofs is movesprite and many more commands this is r0.0 on the library
0そうだね
プレイ済み
返信[13]
親投稿
T.J. Gamer zagg17
VAR declares a var, such as: (say) [thats the var] =print you have to declare the var
0そうだね
未プレイ
返信[14]
親投稿
PikaRyan papermariofanmm
after putting var say at the top of the program it says UNINITIALIZED VARIBLE IN 0:7 (that being the say=print command)
0そうだね
プレイ済み
返信[15]
親投稿
T.J. Gamer zagg17
sen me a public key for it and i'll fix it for u
0そうだね
未プレイ
返信[16]
親投稿
PikaRyan papermariofanmm
k
0そうだね
プレイ済み
返信[17]
親投稿
PikaRyan papermariofanmm
Key: QKSNNDJ1
0そうだね
プレイ済み
返信[18]
親投稿
T.J. Gamer zagg17
i want able to fix it but i did hellp a little bit...i think the say=print is impossible to make work... kay: Q34EB4DD
0そうだね
未プレイ
返信[19]
親投稿
T.J. Gamer zagg17
won't*
0そうだね
未プレイ
返信[20]
親投稿
Alex MrCashews
PRINT is a command, not a function. It does not return a value, so you can't make SAY equal PRINT.
2そうだね
プレイ済み
返信[21]
親投稿
PikaRyan papermariofanmm
oh thanks then
0そうだね
プレイ済み
返信[22]
親投稿
SıмΞоп SimeonW
Your syntax is wrong Functions are functions and cannot be stored in variables Here this is how you would do it: DEF SAY S$ ?S$ END SAY "Hi"
0そうだね
プレイ済み
返信[23]
親投稿
SıмΞоп SimeonW
yea, it works, thats how you'd do it
1そうだね
プレイ済み
返信[24]
親投稿
PikaRyan papermariofanmm
Thank you so much Simeon, Your always there for the confused.
0そうだね
プレイ済み
返信[25]
親投稿
T.J. Gamer zagg17
...
0そうだね
未プレイ