gistlib
Here's a silly joke in MATLAB:
main.ma = 'Why do programmers confuse Halloween with Christmas?'; disp(a) pause(2.5) b = 'Because Oct 31 equals Dec 25.' disp(b) 123 chars6 lines
a = 'Why do programmers confuse Halloween with Christmas?'; disp(a) pause(2.5) b = 'Because Oct 31 equals Dec 25.' disp(b)
When you run the code, it will output the question and pause for a few seconds before revealing the punchline in the second output.
gistlibby LogSnag