How to access argv and argc |
Category: |
Micro-RTS
Applicable to: |
ObjecTime 4.4.1
Description: |
If you do not have the Micro-RTS source (for pre 5.0 releases) you cannot startup actor with custom parameters without modifying the Micro-RTS source [i.e. "$ XXXX_actor -inet -P"] because pre-5.0 ObjecTime has argc and argv reserved for enabling our external layer.
If you have MicroRTS source, then you can likely modify a file or two to parse argv as you require. Just ensure that if you are using our external layer that by the time argv and argc are passed to the creation of our external layer object that argv and argc are as it expects them.
Copyright © 1999, ObjecTime Limited. |