初学者的一些问题3(10分)

M

mociin

Unregistered / Unconfirmed
GUEST, unregistred user!
记录类型:type
text_employee=record
name:string[40]
id_card:integer
age:integer
salary:real
end;
var
myemployee:text_employee;
myemployee.name:=`baobei`
myemployee.id_card:=`1238`
myemployee.age:=`25`
myemployee.salary:=12345.678
为什么最后一行的数字不加单引号?(P32)
 
最后为市型,也是一种数值类型
 
能具体讲一下“市型”吗?
 
楼上写错了。
最后的是实型,是数值型数据
 
只有字符串型才加单引号,给分
 
都让他们回答了 [:(]
 
我也要分啊!
 
多人接受答案了。
 
那倒数第二行的整型,不是数值型的吗?
 

Similar threads

S
回复
0
查看
1K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
927
SUNSTONE的Delphi笔记
S
S
回复
0
查看
950
SUNSTONE的Delphi笔记
S
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
顶部