hello,
i had recently bought an arduino due, i want to use multiple pin as output at the same time, i have an experience with other arduino, in such case i use port C,D or B in an uno, and i want to use something similar to that on the due, i tried to compile this on the due but it didn't work.
Be aware that the current sourcing and sinking capability of the Due ports are different than an AVR processor with many pins being significantly lower. See the data sheet or the Due pin out chart here: