Something Weired

Discussion in 'ten-forward' started by AnthonyG, Feb 26, 2005.

Thread Status:
Not open for further replies.
  1. AnthonyG

    AnthonyG Registered Member

    Joined:
    Aug 3, 2004
    Posts:
    614
    Hi, on my travels over the net i have came accross something really weired.

    Open up word and type this in

    =rand (200,99)

    Then click enter.

    See what happens. Strange!
     
  2. Jimbob1989

    Jimbob1989 Registered Member

    Joined:
    Oct 18, 2004
    Posts:
    2,529
    Comes out with "The quick brown fox jumps over the lazy dog." over and over again :D
     
  3. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
    OMG ROFL :D what's this...I don't get it why should it type that? Found any explanations anywhere?
     
  4. Jimbob1989

    Jimbob1989 Registered Member

    Joined:
    Oct 18, 2004
    Posts:
    2,529
    Why not try it!

    Jimbob
     
  5. AnthonyG

    AnthonyG Registered Member

    Joined:
    Aug 3, 2004
    Posts:
    614
    It reminds me of that scene in the shining (my favourite movie).

    I wonder why Mr Gates chose to include this on his software as it seems to work on all versions of word.

    I wonder if there are any others.
     
  6. Jimbob1989

    Jimbob1989 Registered Member

    Joined:
    Oct 18, 2004
    Posts:
    2,529
    If you alter the number in the brackets, then the number of times the sentence is repeated also changes.

    Jimbob
     
  7. LowWaterMark

    LowWaterMark Administrator

    Joined:
    Aug 10, 2002
    Posts:
    17,876
    Location:
    New England
    It's just some sort of testing routine, no doubt. Many programs contain such things. Of course, there are also easter eggs in programs, but this really isn't the same thing.

    Firecat, your last post was removed as that is something totally different, as well as in bad taste and political. By the way, that was just font substitution, which you can easily do by starting with the target string in whatever font and reversing it. So let's leave those type of things off this board.
     
  8. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
    Well OK, agreed. Sorry again.

    Regards,
    Firecat
     
  9. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
    Guys,

    If you want to see easter eggs for anything including Microsoft Office, Games, Hardware and Software in general...Please visit http://www.eeggs.com

    Best Regards,
    Firecat
     
  10. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
  11. Capp

    Capp Registered Member

    Joined:
    Oct 16, 2004
    Posts:
    2,125
    Location:
    United States
    It is an Internal VBA functions used to display sample text.
    All MS Office products have built in VBA/VB-Scripting features.

    The sentence used (Quick brown fox...) is a sentence that uses every letter of the alphabet.

    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).
     
  12. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
    If all this is used for testing, shouldn't it be removed from the final version of the software?
     
  13. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
    Please don't spoil the surprise! :D
     
  14. Capp

    Capp Registered Member

    Joined:
    Oct 16, 2004
    Posts:
    2,125
    Location:
    United States
    It's not there to test the software, it is there for users to test formatting and fonts/sizes/colors/etc..
     
  15. Firecat

    Firecat Registered Member

    Joined:
    Jan 2, 2005
    Posts:
    7,927
    Location:
    The land of no identity :D
    OK I see thanks!
     
Thread Status:
Not open for further replies.