It is quite strange that with the following code
N = 10 
M = 10 
dim = binomial(N+M-1, M-1)
basis=zeros(Int8, M, dim)
basis[1,1]=N
s=1
while basis[M,s]<N 
    s1=M-1
    while basis[s1,s]==0
        s1=s1-1
    end
    
    basis[1:s1-1,s+1]=basis[1:s1-1,s]
    basis[s1,s+1]=basis[s1,s]-1
    basis[s1+1,s+1]=N-sum(basis[1:s1,s+1])
     
    s=s+1
end
I got the error
┌ Warning: Assignment to `s` in soft scope is ambiguous because a global variable by the same name exists: `s` will be treated as a new local. Disambiguate by using 
`local s` to suppress this warning or `global s` to assign to the existing global variable.
└ @ Untitled-2:17
ERROR: UndefVarError: `s` not defined
Stacktrace:
 [1] top-level scope
   @ .\Untitled-2:9
The global variable ‘s’? where is it? I even restarted my vscode, but the error still pops up.
