比如:
str := '上班了';
buf := array [ 1..10] of byte; 我要把str放到buf中,如何处理?
str := '上班了';
buf := array [ 1..10] of byte; 我要把str放到buf中,如何处理?
解决方案 »
- 请教,如何用DELPHI通过声卡获得,输入音频的频率和幅度值
- 小问题!!!急,急急!!!!!
- ClientDataSet的内容如何保存到dbf中?
- 请问,一个DBGRID里的数据怎么让它停留在我指定的记录上
- 怎么样给TREEVIEW一个附加值
- datetime类型如何只取时间,用来判断早、中、晚 在线急等
- 请问怎样在Delphi应用程序中创建一个数据表?
- 使用TMSCOMM控件時出錯信息:License information for TMSComm not found.You cannot user this Control in design mode.
- 我用动态数组创建了一批的Label,我想对这些动态创建的控件进行事件的处理,比如用鼠标拉动它们进行移动?请问各位我应该怎么做?
- 远程数据库项目,应该怎么选择数据库?
- Delphi中所有菜单(弹出式和非弹出式)的ID是不是唯一的???
- visible属性
buf[i] := Ord(str[i]);
str := str + chr(buf[i]);
Returns the ordinal value of an ordinal-type expression.UnitSystemCategoryordinal routinesDelphi syntax:function Ord(X);DescriptionX is a Delphi ordinal-type expression. The result is the ordinal position of X; its type is the smallest standard integer type that can hold all values of X's type.Ord cannot operate on Int64 values.