R rcscsuk Member Licensed User Longtime User Apr 22, 2020 #1 Hi, Been testing the use of a removeable sub in my code but decided not to use it. How do it remove it from my code. Thought I could just delete the 'Sub' line with the removeablesub icon and retype the sub name without the 'as removeable' sub - but the removeablesub icon keeps returning ? (I know the example image shows the removable sub attached to an event - but this is where it ended up after I deleted the original function - the removeablesub icon seems to 'stick' in the IDE an attached to whatever I type in the same place in the IDE - really strange). (Using B4A v9.80)
Hi, Been testing the use of a removeable sub in my code but decided not to use it. How do it remove it from my code. Thought I could just delete the 'Sub' line with the removeablesub icon and retype the sub name without the 'as removeable' sub - but the removeablesub icon keeps returning ? (I know the example image shows the removable sub attached to an event - but this is where it ended up after I deleted the original function - the removeablesub icon seems to 'stick' in the IDE an attached to whatever I type in the same place in the IDE - really strange). (Using B4A v9.80)
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2020 #2 Any sub that calls Wait For or Sleep is a resumable sub. Upvote 0
R rcscsuk Member Licensed User Longtime User Apr 22, 2020 #3 That was it - many thanks for rapid reply Upvote 0