vfp 中的insist 和messagebox 具体怎么用,请给我举个例子,还有有没有c to w 和c to s 的转换的啊

来源:学生作业帮助网 编辑:作业帮 时间:2024/06/13 03:52:31

vfp 中的insist 和messagebox 具体怎么用,请给我举个例子,还有有没有c to w 和c to s 的转换的啊

VFP 没有 Insist.
*-- MessageBox 例程:
If MessageBox("确定中断程序么?",4 + 32 + 256,ThisForm.Caption) = 6 Then
Return .F.
Endif
如果 C To S 是指 Char To String,那么可以这样说,VFP 的 Char 与 String 是一回事.不需要转换.
W 不知道是什么的缩写.如果是内码转换可使用 StrConv(cExpression,nConversionSetting [,nRegionalIdentifier [,nRegionalIDType]]) 函数.