プレイ日記
I keep putting this in but it never ends when I want it to can some1 help
0そうだね
プレイ済み
返信[1]
親投稿
raimondz raimondxz
The lines between 4 and 8 are doing an infinite loop in the program. By the way, what are you trying to do with that code?
0そうだね
プレイ済み
返信[2]
親投稿
trying to make it where if you press B It goes to another screen
0そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
I've mentioned this in one of your earlier posts. You need to set an escape within the loop. You can do this by setting a label outside the loop and writing a GOTO to this label within your loop. E.g.: @LOOP IF BUTTON() AND #B THEN GOTO @OUTSIDE GOTO @LOOP @OUTSIDE
0そうだね
プレイ済み
返信[4]
親投稿
nate NJR1432
This will make that happen. @LOOP LOCATE 0,0PRINT "First screen." IF BUTTON(2) AND #B THEN CLS:GOTO @LOOP2 GOTO @LOOP @LOOP LOCATE 0,0PRINT "Second screen." WAIT 200
0そうだね
プレイ済み
返信[5]
親投稿
Ok I will Check
1そうだね
プレイ済み
返信[6]
親投稿
Like this oscar or remove everything
1そうだね
プレイ済み
返信[7]
親投稿
Oscar PwnageBlock
Change line 7 so that it's inside a conditional and prefix a GOTO to the label. Like this... IF BUTTON(2)==#B THEN PRINT "STARTING" GOTO @OUTSIDE ENDIF
0そうだね
プレイ済み
返信[8]
親投稿
it says undefined label
0そうだね
プレイ済み
返信[9]
親投稿
7 I think
0そうだね
プレイ済み
返信[10]
親投稿
Oscar PwnageBlock
You deleted a bunch of stuff. Rewrite what you deleted.
0そうだね
プレイ済み
返信[11]
親投稿
Sorry but can make a code of wat I need
0そうだね
プレイ済み
返信[12]
親投稿
Oscar PwnageBlock
Uhh... care to rephrase that?
0そうだね
プレイ済み
返信[13]
親投稿
sorry can you put a code so I know what I need to add
0そうだね
プレイ済み
返信[14]
親投稿
Oscar PwnageBlock
Look at the code in my first comment. It should contain all the basic structure you need.
0そうだね
プレイ済み