(c) Microsoft Corporation 1998, All Rights Reserved.Ĭontributions by Mike A. LiLength = INT((liUpperBLength - liLowerBLength + 1) *- Check for valid parameters and correct if needed. PARAMETERS liLowerBAscii, liUpperBAscii, *- nUBoundLength - Longest string to generate. *- nLBoundLength - Shortest string to generate. *- nUBoundAscii - Highest ASCII value to use. *- Parameters: nLBoundAscii - Lowest ASCII value to use. *- Usage: RandomString(nLboundAscii, nUboundAscii, *- Summary: Generates a string of random characters The WAIT WINDOW commandĭisplays a new random string each time a key is pressed. Save the following code to a program file and run it. This article demonstrates how toĬreate and use the RandomString() function. However, SYS(2015) does not allow theĭeveloper to specify a range of ASCII characters to use, nor does it allow theĭeveloper to specify the length of the string. Random strings for use as procedure names. The FoxPro function SYS(2015) creates ten character When testing SQL functions or creating test data, it is useful to be able to Microsoft FoxPro for Macintosh, version 2.6a Microsoft Visual FoxPro for Macintosh, version 3.0b Microsoft FoxPro for Windows, versions 2.6, 2.6a Microsoft FoxPro for MS-DOS, versions 2.6, 2.6a Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a, 6.0 The information in this article applies to:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |