Sets the shape of the ends of the bus.
Syntax: |
|---|
| DlxBus.SetCap(index, cap) |
Parameters
| Parameter | Description | |||||
|---|---|---|---|---|---|---|
| index | Specify 0 for the beginning of the bus, 1 for the end of the bus, or 2 to set both ends of the bus. | |||||
| cap | Specify one of the following values:
|
Return Value
If the operation ends correctly it returns true otherwise it returns false.
Example
Copy code
|
|
|---|---|
|
|
|
