類似の”構造体”?ってどんなのがありますか?
C言語の宣言では
例:
struct hoge{
char str[100];
int ptr;
};
struct hoge a;
a.str="aaaaa\n";
a.ptr=1;
MessageBox(NULL,a.str,a.ptr,MB_OK);
で、ABでの宣言では
例:
Type hoge
str As String
ptr As Int
End Type
Dim a As hoge
a.str="aaaaaa\n"
a.ptr=1
MessageBox(0,Str$(a.str),Str$(a.ptr),MB_OK)
で、宣言できます
あと、OPENFAILENAME構造体はIncludeディレクトリのapi_commdlg.sbpの171行目の保存、読み込み部に存在します
類似の”構造体”?ってどんなのがありますか? C言語の宣言では 例: struct hoge{ char str[100]; int ptr; };
struct hoge a;
a.str="aaaaa\n"; a.ptr=1; MessageBox(NULL,a.str,a.ptr,MB_OK);
で、ABでの宣言では 例: Type hoge str As String ptr As Int End Type
Dim a As hoge a.str="aaaaaa\n" a.ptr=1 MessageBox(0,Str$(a.str),Str$(a.ptr),MB_OK) で、宣言できます
あと、OPENFAILENAME構造体はIncludeディレクトリのapi_commdlg.sbpの171行目の保存、読み込み部に存在します
|