Modify ↓
Opened 18 years ago
Closed 18 years ago
#132 closed Feature Request (Rejected)
Nothing and NULL
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | ||
| Keywords: | Nothing NULL | Cc: |
Description
It doesn't seem possible to disconnect an ADO recordset, because the required syntax is missing! What is required is an equivalent to the vbs statement
Set rs.ActiveConnection = Nothing
(there are many more situations where the ability to set something in COM to Nothing would be very useful).
While I'm at it, there's no keyword NULL in AutoIt. Again, there are some situations where this could be usefull (and I don't thing Chr(0) is the same thing in all cases).
Attachments (0)
Change History (1)
comment:1 by , 18 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
| Version: | 3.2.10.0 |
Note:
See TracTickets
for help on using tickets.

Replying to PThornett@gmail.com:
I'm sure there's a proper value to assign it to close it. Probably 0 or "". If it's an AutoIt variable, however, assigning it anything will cause the COM object to be released. I would advise asking for support on the forum as I'm certain there is a way to do it without the need for a magical keyword.
AutoIt doesn't really need a NULL keyword. We've managed to make it 5 years without one, I think we'll be alright in the future as well.