Ada中的以下源代码行,
type Airplane_ID is range 1..10;
,可以写成
type Airplane_ID is range 1..x;
,其中x是变量?我问这个是因为我想知道是否可以修改x的值,例如通过文本输入.提前致谢.
ada
ada ×1