- May
- 13,808
- 211
Here's the first few lines of a library routine's source.
And here's how it winds up in memory.
Code:
sv {
setlocal
set expression="LSM|TermService|EventLog|ProfSvc|Themes|EventSystem|Schedule|lmhosts|CryptSvc|SENS|PlugPlay^
|SessionEnv|nsi|Winmgmt|TapiSrv|NlaSvc|LanmanServer|TapiSrv|Dhcp|DnsCache|SstpSvc|RpcEpt|FontCache|BFE^
|UmRdp|RasMan|TrkWks|netprofm|ShellHWD|Dnscache|UserManager|LanmanWorkstation|Audio"
function tformat `%@instr[4,2,%1]/%@instr[6,2,%1] %@instr[8,2,%1]:%@instr[10,2,%1]:%@instr[12,2,%1]`
And here's how it winds up in memory.
Code:
sv {
setlocal
|UmRdp|RasMan|TrkWks|netprofm|ShellHWD|Dnscache|UserManager|LanmanWorkstation|Audio"
function tformat `%@instr[4,2,%1]/%@instr[6,2,%1] %@instr[8,2,%1]:%@instr[10,2,%1]:%@instr[12,2,%1]`