As far as I know, this only works in the earliest versions of Pet BASIC and it was inserted by Bill Gates himself in order to assert Microsoft's copyright on Pet BASIC after he had had an argument with Commodore founder Jack Tramiel.
People who have examined it closely especially admire the way Mr. Gates hid the code in a table of floating point constants.
24 of 42 people found this comment helpful. Did you?
The BASIC command that Bill Gates modified in PET BASIC was the POKE command.
The WAIT command was not added until Visual BASIC many years later.
POKE 6502,10 would print the word Microsoft 10 times.
John Feagans at Commodore considered this a bug and removed it from the first version of PET BASIC.
Bill Seiler (X Commodore Engineer)
24 of 42 people found this comment helpful. Did you?
This only works on basic 3.0 I think, and you have to type 'wait6502,x' where x is a number from 0-255. 0 will fill the screen, and 1-255 will print that quantity of microsoft!'s on the screen.
21 of 39 people found this comment helpful. Did you?