User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
useful_programs [2020/06/03 12:00]
emozolyak [Other handy functions]
useful_programs [2020/06/03 12:01] (current)
emozolyak [Other handy functions]
Line 770: Line 770:
 end -- P_TRIG ​ end -- P_TRIG ​
  
-function MulGetReg(...) ​-- multiple ids or aliases read, returns table, have to be unpack() 'ed+-- multiple ids or aliases read, returns table, have to be unpack() 'ed 
 +-- usage: v1, v2, v3... = unpack(mRead(1,​ 2, 3, ...)) 
 +function mRead(...) ​
      local results = {}       local results = {} 
      for i = 1, #arg do       for i = 1, #arg do 

Page Tools