F
fjhst
Unregistered / Unconfirmed
GUEST, unregistred user!
var
{ size of DataId }
DATA_ID_LENGTH : Integer = 3;
{...}
function test():Integer;
var
{如何使用类似c语言的宏定义来决定数组的上下界?}
DataID: array[0..8] of char;
LocalDataID: array[0..8] of char;
begin
end;
{
DataID: array[0..DATA_ID_LENGTH] of char;
LocalDataID: array[0..DATA_ID_LENGTH] of char;
编译错误...求救!
}
{ size of DataId }
DATA_ID_LENGTH : Integer = 3;
{...}
function test():Integer;
var
{如何使用类似c语言的宏定义来决定数组的上下界?}
DataID: array[0..8] of char;
LocalDataID: array[0..8] of char;
begin
end;
{
DataID: array[0..DATA_ID_LENGTH] of char;
LocalDataID: array[0..DATA_ID_LENGTH] of char;
编译错误...求救!
}