[Scilab-users] Precedence rules for concurrent native and external builtin homonymous functions?

Samuel Gougeon sgougeon at free.fr
Fri Apr 9 18:14:04 CEST 2021


Le 09/04/2021 à 18:08, Antoine Monmayrant a écrit :
>
>
> On 09/04/2021 17:57, Samuel Gougeon wrote:
>>
>> Dear all,
>>
>> I am wondering about precedence rules when a user's defined builtin 
>> (possibly from an ATOMS external module) has the same name than a 
>> native Scilab builtin function.
>> The case appeared (and maybe still) when using the scicv external 
>> module, that redefined a write() function that already exists in Scilab.
>>
>> Does anyone know how such conflicts are managed by Scilab?
>>
> Poorly or not at all according to my own painful experience with 
> grocer and scicv that caused weird behaviours by overloading existing 
> functions...
>
Doesn't Grocer use only macros, not a single builtin function?
My question is only about hard-coded (so called builtin or "primitive") 
functions.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210409/f608cc93/attachment.htm>


More information about the users mailing list