Domanda

Is there a programming language where :) is valid syntax (excluding custom defined templates or operator overloading etc)?

È stato utile?

Soluzione

Matlab. a(:) means "all the elements of a arranged as a column vector". Given liberal whitespace, you could also write it as a( :).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top