プレイ日記
Clepto Clepto2.0
Anybody else have this problem? Please read the other parts before saying I just need a label
3そうだね
プレイ済み
返信[1]
親投稿
Clepto Clepto2.0
So here is line 1012. Right before it thinks there is an undefined label I have it print the label it should go to so I can see what R$ is
0そうだね
プレイ済み
返信[2]
親投稿
Clepto Clepto2.0
And here it is, @ITEM9, as clear as day! How is this an undefined label?
0そうだね
プレイ済み
返信[3]
親投稿
V360 TheV360
Is ITEM9 inside a function? If so, you may need to take it out of the function.
0そうだね
プレイ済み
返信[4]
親投稿
Gale Storm GaleTheStorm
Not entirely sure, but try establishing shop$ before it's used to define R$. As in, put "Shop$=" before R$=.
1そうだね
プレイ済み
返信[5]
親投稿
Gale Storm GaleTheStorm
I think what is probably happening is that, when the program starts, all string variables are empty until they're told to be otherwise. Both shop$ and R$ are empty ("") Because R$ refers to shop BEFORE it's changed, it just returns "" at the end of the label. (continued)
1そうだね
プレイ済み
返信[6]
親投稿
Gale Storm GaleTheStorm
As a result, the program is looking for "@Item" + "" or simply @Item, which I'm guessing doesn't exist, hence the missing label.
1そうだね
プレイ済み
返信[7]
親投稿
Clepto Clepto2.0
I feel so bad. You're right Gale Storm, but I didn't see your comment until I fixed it. Thanks though!
0そうだね
プレイ済み
返信[8]
親投稿
Gale Storm GaleTheStorm
Ah, no problem at all. I'm glad it worked out. This is a learning experience for me as well. No harm done. ^_^
0そうだね
プレイ済み