@exe_child_of(son:exe, ancestor:exe)
@exe_child_of(son:exe, ancestor:proc)
@exe_child_of(son:exe, ancestor:string)

returns true if son is a descendent of ancestor. Otherwise a false value is returned.

The first argument must be a live exe. The second argument specifies the ancestor:

  • by an exe;

  • or by a proc value, meaning that son has been launched directly or indirectly from one instance of the proc;

  • or by a string which is the label of a compound action of which one of the instances has launched son.

An is returned in case of problem (the second argument is a dead exe or is not a valid proc value).

An exe is considered as a child of itself. Thus,

      @exe_child_of(ex, ex)
returns true if exis a live exe.

The child relation between the son and the ancestor is not necessarily direct: a process P that is spanned by a loop triggered by a whenever in a group G is a child of G (in pedantic terms, the child relation is the reflexive-transitive closure of the relation defined by the function @exe_parent).

See also @exe_parent, the special variables $MYSELF and $THISOBJ.

See also System Related Functions @arch_darwin    @arch_linux    @arch_windows    [@beat_in_seconds_from_now]    @callback_all_event    @callback_next_event    @callback_start_fastforward    @callback_start_logical_instant    @callback_stop    @callback_stop_fastforward    @callback_stop_logical_instant    @compilation    @configuration_arch    @configuration_audiosample    @configuration_debug    @configuration_faust    @configuration_host    @configuration_release    @configuration_target_architecture    @current_load_directory    @directory_read    @exe_child_of    @exe_parent    @history_length    @host_date    @info    @is_fastforward    @is_following_on    @is_paused    @is_playing_on    @is_running    @is_stopped    @local_beat_position    @local_tempo    @max_absolute_path    @max_patch_path    @pwd    @seconds_in_beats_from_now    @send_message    @set_max_message_sent_instantaneously    @system    @Tracing    @time    @typecheck    @UnTracing    @usage_resident_memory_size    @usage_statistics    @usage_virtual_memory_size    @user_directory