useful_programs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
useful_programs [2020/04/17 10:56] – [Debug printing] emozolyak | useful_programs [2020/06/03 12:00] – [Other handy functions] emozolyak | ||
---|---|---|---|
Line 769: | Line 769: | ||
return false -- nothing happened | return false -- nothing happened | ||
end -- P_TRIG | end -- P_TRIG | ||
+ | |||
+ | function MulGetReg(...) -- multiple ids or aliases read, returns table, have to be unpack() 'ed | ||
+ | local results = {} | ||
+ | for i = 1, #arg do | ||
+ | local param = arg[i] | ||
+ | -- INFO(" | ||
+ | results[i] = GetReg(param) | ||
+ | | ||
+ | if (#results == 1) then | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | end | ||
</ | </ | ||
useful_programs.txt · Last modified: 2024/03/19 09:39 by emozolyak