Message 1 of 8
Return value of a lisp callable function
Not applicable
01-19-2008
02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I was wondering if it's possible to return a plain nil (as opposed to a list
containing just nil) from a lisp callable function.
The other night I was experimenting a bit and the only thing I could think
of was this
Return New ResultBuffer(New TypedValue(LispDataType.Nil))
I'm also wondering if there's a way to typecast a VB boolean value to
LispDataType.T_atom or LispDataType.Nil
For now I'm doing something like this:
If Condition Ten
SomeTypedValue = New TypedValue(LispDataType.T_atom)
Else
SomeTypedValue = New TypedValue(LispDataType.Nil)
End If
Thanks in advance
and beg pardon if these are stupid questions.
I was wondering if it's possible to return a plain nil (as opposed to a list
containing just nil) from a lisp callable function.
The other night I was experimenting a bit and the only thing I could think
of was this
Return New ResultBuffer(New TypedValue(LispDataType.Nil))
I'm also wondering if there's a way to typecast a VB boolean value to
LispDataType.T_atom or LispDataType.Nil
For now I'm doing something like this:
If Condition Ten
SomeTypedValue = New TypedValue(LispDataType.T_atom)
Else
SomeTypedValue = New TypedValue(LispDataType.Nil)
End If
Thanks in advance
and beg pardon if these are stupid questions.