Frage

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

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top