hi
i create a structure like this :
an error occured when i write "IsNot" Or "Is" Or "=" Or "<>" between "EquationColumn(Index)" And "Nothing" .
for IsNot Error is :
'IsNot' requires operands that have reference types, but this operand has the value type
for "<>" Error is :
Operator '<>' is not defined for types
i create a structure like this :
Code:
Public Structure EquationColumns
Dim ColumnName As String
End Structure
Public Structure EquationsInfo
Dim SourceName As String
Dim EquationColumn() As EquationColumns
Public Sub x(ByVal Index As Integer)
If EquationColumn(Index) IsNot Nothing Then MsgBox "Message"
End Sub
End Structure
for IsNot Error is :
'IsNot' requires operands that have reference types, but this operand has the value type
for "<>" Error is :
Operator '<>' is not defined for types