Advertisement
7_2009-2012 Miscellaneous #225826

A REAL RANDOM NUMBER GENERATOR

This code will create completely random numbers for you!

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
Sub Command1_Click ()
Randomize 'makes it random
  'makes a random number, 1 - 100 in Label1
  Value = Int(100 * Rnd)
  Label1.Caption = Str$(Value)
End Sub
原始评论 (3)
从 Wayback Machine 恢复