Csound Csound-dev Csound-tekno Search About

Name collision in 3.46 / Amsterdam tutorials

Date1997-09-15 10:27
Fromrasmus ekman
SubjectName collision in 3.46 / Amsterdam tutorials
Stuart Dudley Dimond III wrote:
> 
> I've been working my way through the Amsterdam tutorials this week.
> Breaking in my new PowerCenter 240 and getting used to csound.ppc. I
> have been able to get them all to work except one: 20_20_6
> 
>  On the statement: kport     oscil1  0, iportdev, .2, ifport.
> 
> It gives me an error and gives a message: too many input args. 
> Reading the fine manual shows me nothing I can detect as an error. 

This is due to a name collision. The opcode kport was introduced
in Bath version 3.46, and Csound obviously gets confused.
I can run the example on my PC by editing the name of this variable:

(acccid/20/20_20_06.ORC, lines 62-63):
;*********
  ; ERROR v 3.46     *kport*    oscil1  0,iportdev,.2,ifport    ; initial portamento
  ; ERROR v 3.46      kv      =       1+kvib+kport+krand      ; vibrato factor ca. 1
        kerrfix   oscil1  0,iportdev,.2,ifport    ; initial portamento
        kv      =       1+kvib + kerrfix + krand      ; vibrato factor ca. 1

;*********

This seems bound to happen sometimes when introducing opcodes,
if they begin with 'i', 'k' or 'a'. Same problem reappears 
if you eg. rename the variable kport to kpow.

A problem here though, since ACCCI is counted among official
Csound sources. Should someone grep it and pass johnff a
"used names" list, or else how to handle? 
Think, Conan, think!

regards,

	re