In reply to Ammu4392:
cores=new[no_cores] is a function call; it has to be called by another function or task.