=rand(10)

Written By Widyawan Sigitmanto on Tuesday, June 5, 2007 | 3:59 PM

Masih ingat dengan fungsi =rand(10) di ms word? Lupa? Kode itu memang jarang dipakai dan fungsinya juga ga terlalu penting.

Bagi yang belum pernah menggunakan fungsi ini bisa di coba dulu.
Buka ms office kemudian di halaman yang masih kosong ketik “=rand(10)” (tanpa tanda petik) kemudian tekan enter, Apa yang terjadi?

Ya serangkaian tulisan yang diulang-ulang akan muncul.

Fungsi rand cuma berfungsi memunculkan suatu tulisan dari office dengan panjang tulisan tergantung angka yang kita masukan di dalam tanda kurung. Angka di dalam tanda kurung menunjukkan jumlah paragraph yang akan dimunculkan.

Sebenarnya apa yang muncul ketika kita mengetikkan kode ini? Pada ms word sebelum ms word 2007 kode ini akan memunculkan serangkaian tulisan yang berbunyi:

“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.”

Itulah satu paragraph hasil dari kode rand pada ms office sebelum versi 2007.
Pada ms office 2007 kode tersebut menghasilkan tulisan yang berbeda dengan hasil diatas. Bagi yang sudah menginstal ms office 2007 bisa langsung mencobanya.
Pada ms office 2007 kode rand menghasilkan tulisan yang berbunyi :

“On the Insert tab, the galleries include items that are designed to coordinate with the overall look of your document. You can use these galleries to insert tables, headers, footers, lists, cover pages, and other document building blocks. When you create pictures, charts, or diagrams, they also coordinate with your current document look.
You can easily change the formatting of selected text in the document text by choosing a look for the selected text from the Quick Styles gallery on the Home tab. You can also format text directly by using the other controls on the Home tab. Most controls offer a choice of using the look from the current theme or using a format that you specify directly.
To change the overall look of your document, choose new Theme elements on the Page Layout tab. To change the looks available in the Quick Style gallery, use the Change Current Quick Style Set command. Both the Themes gallery and the Quick Styles gallery provide reset commands so that you can always restore the look of your document to the original contained in your current template.”


Hasil dari kode rand pada ms word 2007 kelihatan lebih berguna dibanding tulisan yang dihasilkan oleh ms office sebelum 2007, karena berisi sedikit info tentang ms word 2007.

Bagaimana cara mengubah hasil dari kode ini?
Untuk yang satu ini saya belum tau, mungkin ada yang tau? boleh dong bagi2 ilmunya.

1 komentar:

balqmunk said...

itu namanya 'easter eggs' atau 'telur paskah' dalam bahasa indonesia.

http://en.wikipedia.org/wiki/Easter_egg_(virtual)