プレイ日記
PikaRyan papermariofanmm
How do i make it so for every letter i print, It beeps for each letter? And how do i make it, print a scentence 1 letter at a time? thanks. -PikaRyan
0そうだね
プレイ済み
返信[1]
親投稿
Hanzo rzsense
Could you refer to the following codes? ACLS:ST$="HELLO THIS IS A TEST" LOCATE 5,5 FOR I=0 TO LEN(ST$)-1 FOR J=0 TO 5:VSYNC 1 IF(BUTTON(0)AND #A)!=0 THEN BREAK NEXT J P$=MID$(ST$,I,1):?P$; IF P$!=" " THEN BEEP 48 NEXT I ?:?
1そうだね
未プレイ
返信[2]
親投稿
MYCRAFT MYCRAFTisbest
eZSB includes a method called ZTXTT which will type a string one letter at a time and make a beep in varying pitches for each letter. It's a simple implementation I added, but it works similarly to the code provided above. KEY: QKAK444M
1そうだね
プレイ済み
返信[3]
親投稿
Phoenix B) epicphoenix4
Or you could try TXT$="Hello, this is a test" For X=0 to number of letters LOCATE X+5,10:Print TXT$[X] BEEP 9 wait 10 next
2そうだね
プレイ済み
返信[4]
親投稿
PikaRyan papermariofanmm
k pheonix i tried your method it works but then after the text it says
0そうだね
プレイ済み
返信[5]
親投稿
Hanzo rzsense
(Number of letters)-1 is correct in Phoenix's method. Because the start of X is not 1 but 0.
1そうだね
未プレイ