#16 COMMAND$ enhancements

Open
opened 2 years ago by ChipMaster · 0 comments

The current implementations of COMMAND$ are limited to 10 possible arguments, which in UNIX is waaay under capacity. This needs to be in the realm of tens of thousands. There also needs to be some kind of variable to say how many there are. Right now a check outside of the supplied arguments returns an empty string. Since "” could be a valid command line argument and since tens of thousands is a lot it would be better to have a count function or variable.

NOTE: Currently the first ten items are coppied into an internal array. We should just store and dispatch the array provided to main().

The current implementations of `COMMAND$` are limited to 10 possible arguments, which in UNIX is waaay under capacity. This needs to be in the realm of tens of thousands. There also needs to be some kind of variable to say how many there are. Right now a check outside of the supplied arguments returns an empty string. Since "" could be a valid command line argument and since tens of thousands is a lot it would be better to have a count function or variable. NOTE: Currently the first ten items are coppied into an internal array. We should just store and dispatch the array provided to `main()`.
ChipMaster added the
enhancement
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.