WHO CAN EXPLAIN THIS

Discussion in 'Gaming and Software' started by ewan2000, Oct 12, 2007.

Welcome to the Army Rumour Service, ARRSE

The UK's largest and busiest UNofficial military website.

The heart of the site is the forum area, including:

  1. If you type in the following into a word document and press enter something wierd happens, try it now

    =rand(200,90)

    WHY!!!!!!
     
  2. The =rand() function has the following syntax:
    =rand(p,s)
    where p is the number of paragraphs and s is the number of sentences that you want to appear in each paragraph.

    So =rand(200, 90) will give you 200 paragraphs, each with "The quick brown fox jumps over the lazy dog." repeated 90 times
     
  3. Cool!

    153 pages of cack!
     
  4. Bored microsoft programmers
     
  5. BUT WHY!
     
  6. For those that REALLY want to know:

    Microsoft Word allows you to quickly insert sample text into a document. To do this, type =rand() in the document where you want the text to appear, and then press ENTER.

    The inserted sample text appears similar to the following:
    The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.¶

    The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.¶

    The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.¶
    This feature is turned on by default, and is disabled when the Replace text as you type option is turned off. To turn this option on or off, click AutoCorrect on the Tools menu, click the AutoCorrect tab, and then click to select or clear the Replace text as you type check box.

    To view the paragraph marks (¶) in your Word document, do one of the following: • On the Standard toolbar, click Show/Hide (¶).
    • On the Tools menu, click Options. On the View tab, click to select the All check box, and then click OK.
    Note Word will not insert sample text when the insertion point immediately follows either a PAGE BREAK or a COLUMN BREAK.
    MORE INFORMATION
    By default, the sample text contains three paragraphs, with each paragraph containing five sentences. You can control how many paragraphs and sentences appear by adding numbers inside the parentheses.

    The =rand() function has the following syntax
    =rand(p,s)
    where p is the number of paragraphs and s is the number of sentences that you want to appear in each paragraph.

    Examples:
    =rand(1) inserts one five-sentence paragraph of text

    =rand(1,1) inserts one one-sentence paragraph of text.

    =rand(1,2) inserts one two-sentence paragraph of text

    =rand(2) inserts two five-sentence paragraphs of text

    =rand(2,1) inserts two one-sentence paragraphs of text

    =rand(10) inserts 10 five-sentence paragraphs of text

    =rand(10,1) inserts 10 one-sentence paragraphs of text

    =rand(10,10) inserts 10 ten-sentence paragraphs of text

    Note When you omit the second number, the default is five sentences of text. The maximum number that can be used inside the parenthesis is 200 (this number may be lower depending on the number of paragraphs and sentences specified).
     
  7. Sort of understand but why the BROWN FOX ect
     
  8. Because it the shortest sentence that contains all the characters in the alphabet.
     
  9. It's just a quick way to insert text into a textual document for the purposes of testing the program before release.
     
  10. Deleted - beaten to it by smudge :)
     
  11. Brown fox etc - historically typing that sentance on a manual typewriter used every letter and number thereby checking that the type writer worked properly
     
  12. Tell me I'm not the only cnut who actually checked if this is true (it is you know!).
     
  13. Cheers all, I should say get a life, but we learn something everyday

    cheers
     
  14. Its an Easter Egg... MS Office Apps has had a few of them over the years, Excel 2000 and '97 had some games hidden in them.

    Excel 2003 seems a bit duller though.

    TB
     
  15. I thought that it was general knowledge? :)