is.vb
来自「FastScript 1.94 Full Source」· VB 代码 · 共 18 行
VB
18 行
' FastScript v1.0
' 'is' operator demo
dim o, p
o = new TObject
p = new TPersistent
if o is TObject then
ShowMessage("o is TObject")
end if
if p is TObject then
ShowMessage("p is TObject")
end if
if not (o is TPersistent) then
ShowMessage("o is not TPersistent")
end if
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?