Hi Aldert, that command checks whether the proc with name $proc_name exists. If it exists it makes the call. Otherwise, nothing happens.
Here's how acs_sc_call works:
- Generate the name for the specified contract, implementation and operation. The proc name is a dotted expression of the form: AcsSc.${contract}.${operation}.${impl}
- If the proc exists, call it. Otherwise, do nothing.
Basically, the proc with name AcsSc.FtsContentProvider.DataSource.note (autogenerated proc by acs_sc_proc) would redirect a call like:
acs_sc_call -contract FtsContentProvider -operation DataSource -impl note
to the concrete procedure that implements the ''DataSource'' operation of the contract ''FtsContentProvider'' in the implementation named ''note'', i.e to the proc ''notes__datasource'' defined in ''package/notes/tcl/notes-procs.tcl''.
I hope that helps.