トピック
Chickens32 Chickens32

GPUTCHR

Is it possible to print variables with GPUTCHR? It would be a big help if somebody could explain.
0そうだね
プレイ済み
返信[1]
親投稿
Scientist Speedy1101
I think GPUTCHAR X,Y,A% or A$ or A or A[whatever] will work.
0そうだね
プレイ済み
返信[2]
親投稿
Chickens32 Chickens32
That doesn't work.
0そうだね
プレイ済み
返信[3]
親投稿
Scientist Speedy1101
Does assigning A% to A$ work (A$=A%) ?
0そうだね
プレイ済み
返信[4]
親投稿
Scientist Speedy1101
I figured it out! Using a number variable will make it output a character based on the number. The number is ASCII for whatever character is being shown. To show numbers with numbers you can figure out the ASCII code for each number or you can use the opposite of STR$ which I don't know what that is.
0そうだね
プレイ済み
返信[5]
親投稿
Scientist Speedy1101
ASCII for numbers 1-9 is 49-57 and 0 is 58.
0そうだね
プレイ済み