プレイ日記
MSWS coolestkid123
HELP PLEASE! If I do: DIM A[10] A[0]=5 CUSTOM A COMMON DEF CUSTOM D ?LEN(D) ?D[0] END It gives an error, why???
2そうだね
プレイ済み
返信[1]
親投稿
SıмΞоп SimeonW
It's because you need to add the % to specifically define that it is an array So replace COMMON DEF CUSTOM D With COMMON DEF CUSTOM D%
0そうだね
プレイ済み
返信[2]
親投稿
SıмΞоп SimeonW
?LEN(D%) ?D%[0] END
0そうだね
プレイ済み
返信[3]
親投稿
MSWS coolestkid123
What's wrong with my code??? Thanks for the help.
0そうだね
プレイ済み
返信[4]
親投稿
MSWS coolestkid123
This is the line saying type mismatch...
0そうだね
プレイ済み
返信[5]
親投稿
Javier olakease000
I think you should put DEF CUSTOM D[] and then operate with the array, because % is the suffix for integer.
0そうだね
プレイ済み
返信[6]
親投稿
SıмΞоп SimeonW
You should send a public key, because the screenshots seem fine Advice: You should always use VAR after DEF, in this case for A because A could be another variable, putting VAR A after your DEF, would then create a new temporary variable named A.
0そうだね
プレイ済み
返信[7]
親投稿
MSWS coolestkid123
Heres the key, hopefully you know how to use it! Thanks for the help.
0そうだね
プレイ済み