帮帮忙好吗?

songfupeng 2002-12-21 08:05:01
请问如下语句是什么意思?
1、RESTORE FROM \pos\entry.IDX ADDITIVE
2、sys(2020),sys(2022)
3、val(sys(2020)),val(sys(2022))
...全文
38 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
boomit 2002-12-23
  • 打赏
  • 举报
回复
restore from 命令
示例 请参阅

恢复保存在内存变量文件或备注字段中的内存变量和内存变量数组,并把它们放回到内存中。

语法

RESTORE FROM FileName | MEMO MemoFieldName
[ADDITIVE]

参数
FileName

指定保存内存变量和内存变量数组的内存变量文件。内存变量文件指定扩展名 .MEM。

MEMO MemoFieldName

指定保存内存变量和内存变量数组的备注字段。

ADDITIVE

防止删除当前内存中已有的内存变量或内存变量数组。如果使用 ADDITIVE 时,要添加的内存变量或内存变量数组的数目加上已有内存变量的数目超过了系统对内存变量数目的限制,Visual FoxPro 将从内存变量文件或备注字段中恢复尽可能多的内存变量和内存变量数组。
恢复内存变量或内存变量数组时,如果内存变量或内存变量数组与已有内存变量或内存变量数组有相同的名称,则用恢复的内存变量或内存变量数组的值改写原有内存变量或内存变量数组中的值。

SYS(2020) – 默认磁盘空间
请参阅

以字节数返回默认磁盘空间。

语法

SYS(2020)

返回值类型

字符型

说明

可以用 SET DEFAULT 命令指定默认磁盘。
SYS(2022) - 磁盘簇(块)大小
请参阅

以字节为单位返回指定磁盘簇(块)的大小。

语法

SYS(2022 [, cDriveLetter])

返回值类型

字符型

参数
cDriveLetter

指定磁盘驱动器字母 (A,B,C…),而不是当前默认磁盘

zhupuwei 2002-12-23
  • 打赏
  • 举报
回复
kb!
p jfd bm gm ym rt kru !
q tj nb nnw uw kru !
newfang 2002-12-23
  • 打赏
  • 举报
回复
to boomit(boom)

你那儿是不是有全中文的msdn啊!!!!????
magnetmoon 2002-12-22
  • 打赏
  • 举报
回复
entry.IDX这个文件中存有系统要用到的变量,
RESTORE FROM \pos\entry.IDX ADDITIVE就是
取出这些变量的值供程序使用

fly_dream0323 2002-12-22
  • 打赏
  • 举报
回复
哇,全是E文.看得我头也大了.
qqqdong 2002-12-21
  • 打赏
  • 举报
回复
SYS(2022) - Disk Cluster Size
See Also

Returns the cluster size in bytes of a specified disk.

Syntax

SYS(2022 [, cDiskName])

Returns

Character

Arguments

cDiskName

Specifies a drive letter (A, B, C, ...) for a disk other than the current default disk.
qqqdong 2002-12-21
  • 打赏
  • 举报
回复
SYS(2020) – Default Disk Size
See Also

Returns the total size in bytes of the default disk.

Syntax

SYS(2020)

Returns

Character

Remarks

The default disk can be specified with SET DEFAULT.
qqqdong 2002-12-21
  • 打赏
  • 举报
回复
RESTORE FROM Command
Example See Also

Retrieves variables and variable arrays saved in a variable file or a memo field and places them into memory.

Syntax

RESTORE FROM FileName | MEMO MemoFieldName
[ADDITIVE]

Arguments

FileName

Specifies the variable file from which the variables and arrays are restored. Variable files are assigned a .mem extension.

MEMO MemoFieldName

Specifies the memo field from which variables and arrays are restored.

ADDITIVE

Prevents any variables or arrays currently in memory from being erased. If the number of variables or arrays being added with ADDITIVE plus the number of existing variables exceeds the variable limit, Microsoft Visual FoxPro brings as many variables and arrays as possible into memory from the variable file or memo field.

If you restore a variable or array that has the same name as an existing variable or array, the value in the existing variable or array is overwritten with the value of the restored variable or array.

Remarks

When RESTORE FROM is issued in a program, all PUBLIC and PRIVATE variables and arrays are restored as PRIVATE; all LOCAL variables and arrays are restored as LOCAL. If RESTORE is issued in the Command window, PUBLIC and PRIVATE variables and arrays are restored as PUBLIC; LOCAL variables and arrays are restored as LOCAL.

RESTORE FROM clears any variables or arrays currently in memory unless you include the ADDITIVE keyword. RESTORE FROM does not affect system variables.

Note that object type variables cannot be restored from a variable file or memo field.

2,749

社区成员

发帖
与我相关
我的任务
社区描述
VFP,是Microsoft公司推出的数据库开发软件,用它来开发数据库,既简单又方便。
社区管理员
  • VFP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧