You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

8.3.13 VarType

VarTypeは、Subjectバリアントに現在格納されている値のタイプを返します。
VarType( Subject )  
返される結果は、以下のとおりです。

  • VarNull
  • VarEmpty
  • VarInteger
  • VarDouble
  • VarString
  • VarDecimal
  • VarBoolean
  • VarComponent


以下は、グリッドから返される値が文字列かどうかを確認する例です。
If Cond(VarType( #TheValue ) *EQ VarString) Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Variant Type' 'The value is a string.') Endif  

  • No labels