Does TOS have an getopt?

News,announcements,programming,fixes,game patches & discussions.

Moderator: troed

Post Reply
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Does TOS have an getopt?

Post by PaulJ »

Does anyone know of GETOPT code for TOS. It would be convenient to find a drop in instead of processing input parameters myself. Didn't want to spend a lot of time getting linux code to run. Anyhow thanks in advance.
User avatar
mfro
Posts: 122
Joined: Thu Dec 13, 2018 7:32 am

Re: Does TOS have an getopt?

Post by mfro »

PaulJ wrote: Fri May 03, 2019 3:21 pm Does anyone know of GETOPT code for TOS. It would be convenient to find a drop in instead of processing input parameters myself. Didn't want to spend a lot of time getting linux code to run. Anyhow thanks in advance.
I think more or less every (serious) C compiler's C library for TOS provides a getopt() function (plug: even libcmini does).
And remember: Beethoven wrote his first symphony in C.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: Does TOS have an getopt?

Post by PaulJ »

Thanks MFRO.. spell changer thinks fro is better so I capped ya.. :) Never the less thanks, I'll give it a try.
Post Reply

Return to “SOFTWARE PROGRAMMING & DISCUSSION”