FutureProg functions
connecttogrid
Overload 1
connecttogrid overload 1
Boolean connecttogrid(Grid grid, Item item)
Available in
- computer function
- computer program
- standard futureprog
This function takes a grid-interfacing item like a grid feeder or grid outlet and connects it. Returns true if it succeeded.
| Parameter | Type | Description |
|---|---|---|
grid |
Grid |
The resolved grid to connect to |
item |
Item |
The grid-interfacing item you want to connect |
Overload 2
connecttogrid overload 2
Boolean connecttogrid(Number grid, Item item)
Available in
- computer function
- computer program
- standard futureprog
This function takes a grid-interfacing item like a grid feeder or grid outlet and connects it. Returns true if it succeeded.
| Parameter | Type | Description |
|---|---|---|
grid |
Number |
The ID of the grid you want to connect the item to |
item |
Item |
The grid-interfacing item you want to connect |