The Dink Network

Reply to kill_this_task but from external

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 8th 2018, 08:47 PM
duckdie.gif
crypto
Peasant They/Them
 
script A is a global running script. with no kill [always running]..

Script B is a key P

if i use external can i kill script A VIA P by calling a function that is not used for script A, such as use in the example below ... ask if having issue understanding what i mean ... not sure i captured it quite right

in script B
external("A", "use")

script A

void main(void)
{
top:
some stuff
goto top
}

void use(void)
{
kill_this_task();
}

thinks or can you pass the script name to kill_this_task()?