os.pullEvent() = os.pullEventRaw()in 1.56 but returns Unexcepted Symbol.
Is it supported in 1.56 or has it not been implemented?
Posted 07 May 2014 - 12:12 AM
os.pullEvent() = os.pullEventRaw()in 1.56 but returns Unexcepted Symbol.
Posted 07 May 2014 - 12:16 AM
Posted 07 May 2014 - 12:34 AM
Posted 07 May 2014 - 01:11 AM
Posted 07 May 2014 - 09:41 PM
Bomb Bloke, on 07 May 2014 - 12:34 AM, said:
HometownPotato, on 07 May 2014 - 01:11 AM, said:
Edited by cptdeath58, 07 May 2014 - 09:42 PM.
Posted 07 May 2014 - 09:46 PM
cptdeath58, on 07 May 2014 - 09:41 PM, said:
old_pullEvent = os.pullEvent -- Backup the old function os.pullEvent = os.pullEventRaw -- Override it os.pullEvent = old_pullEvent -- Restore itThis is good if you later want to restore the old one, otherwise you will always have ctrl+t prevention( if this is set as startup )
Posted 07 May 2014 - 09:53 PM
local os.pullEvent = os.pullEventRawEven if the program errored out, the reassignment would also 'go away' since it is local within the scope of the program, right?
Edited by Dog, 07 May 2014 - 09:55 PM.
Posted 07 May 2014 - 09:55 PM
Dog, on 07 May 2014 - 09:53 PM, said:
local os.pullEvent = os.pullEventRawEven if the program errored out, the reassignment would also 'go away' since it is local within the scope of the program, right?
Posted 07 May 2014 - 09:55 PM
Posted 07 May 2014 - 10:06 PM
Posted 07 May 2014 - 10:08 PM
Posted 07 May 2014 - 10:13 PM
cptdeath58, on 07 May 2014 - 09:41 PM, said:
Posted 08 May 2014 - 09:47 PM
Bomb Bloke, on 07 May 2014 - 10:13 PM, said:
cptdeath58, on 07 May 2014 - 09:41 PM, said:
0 members, 1 guests, 0 anonymous users