# _M_StrCaseEq
function _M_StrCaseEq(a, b)Compares two ASCII strings case-insensitively without allocating normalized copies.
| Parameter | Type | Default | Description |
|---|---|---|---|
a | dynamic | — | First input operand. |
b | dynamic | — | Second input operand. |
src/m_argv.mlOwns the process argument vector and implements Doom-style case-insensitive option lookup.
function _M_StrCaseEq(a, b)Compares two ASCII strings case-insensitively without allocating normalized copies.
| Parameter | Type | Default | Description |
|---|---|---|---|
a | dynamic | — | First input operand. |
b | dynamic | — | Second input operand. |
inline function _M_ToLowerAscii(c)Folds one uppercase ASCII byte to lowercase while leaving all other bytes unchanged.
| Parameter | Type | Default | Description |
|---|---|---|---|
c | dynamic | — | C value supplied to `_M_ToLowerAscii`. |
function M_CheckParm(check)Returns the first case-insensitive option index after argv[0], reserving zero to mean absent.
| Parameter | Type | Default | Description |
|---|---|---|---|
check | dynamic | — | Check value supplied to `M_CheckParm`. |
function M_SetArgv(progName, args)Rebuilds Doom's global argv with the executable name at index zero and records the resulting count.
| Parameter | Type | Default | Description |
|---|---|---|---|
progName | dynamic | — | Prog name value supplied to `M_SetArgv`. |
args | dynamic | — | Args value supplied to `M_SetArgv`. |
myargcTracks the mutable myargc value used by the m argv subsystem.
myargvHolds the optional myargv resource used by the m argv subsystem.