@directory_read(path:string)
@directory_read(path:string, level:int)
@directory_read(path:string, ["ext1", "ext2", ...]:tab)
@directory_read(path:string, level:int, ["ext1", "ext2", ...]:tab)

The first version of this command returns a MAP (dictionary) where the keys are the names of the file located in the directory specifeid by path. The subdirectory do not appears in the map. The value associated to a key is the key itself.

If level is specified, the listing is extended to the subdirectories up to level of nestings. A sub-directory is described by a key (a string specifying its name) and a map describing its content.

If ["ext1", "ext2", ...] is specified, only the files with theses extensions are listed.

See also System Related Functions: @active_mac_addresses    @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_compiler_name]    [@configuration_compiler_version]    @configuration_debug    @configuration_faust    @configuration_host    [@configuration_odeint]    @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    @logical_date    @max_absolute_path    @max_patch_path    @performance_data    @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