Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

testing.randomvalue(3kaya) [debian man page]

Testing.randomValue(3kaya)				       Kaya module reference					Testing.randomValue(3kaya)

NAME
Testing::randomValue - Return a random value SYNOPSIS
Arbitrary randomValue( Int depth=10 ) ARGUMENTS
depth This parameter gives the maximum depth of recursion to guarantee that the value has finite size. The default value is 10 and can usu- ally be omitted. DESCRIPTION
Return a random value of arbitrary type. AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. RELATED
Testing.randomArray(3kaya) Testing.randomChar(3kaya) Testing.randomFloat(3kaya) Testing.randomInt(3kaya) Testing.randomString(3kaya) Kaya October 2012 Testing.randomValue(3kaya)

Check Out this Related Man Page

Testing.randomInt(3kaya)				       Kaya module reference					  Testing.randomInt(3kaya)

NAME
Testing::randomInt - Return a random integer SYNOPSIS
Int randomInt( ) DESCRIPTION
Return a random integer in the range -2**31 to 2**31. AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. RELATED
Testing.randomChar(3kaya) Testing.randomFloat(3kaya) Testing.randomIntArray(3kaya) Testing.randomNegativeInt(3kaya) Testing.randomPositiveInt(3kaya) Testing.randomSignOfInt(3kaya) Testing.randomString(3kaya) Testing.randomValue(3kaya) Kaya October 2012 Testing.randomInt(3kaya)
Man Page

9 More Discussions You Might Find Interesting

1. AIX

Variable Testing for size

How do you test a variable size to know if it is empty or not? Thanks (4 Replies)
Discussion started by: jango
4 Replies

2. Shell Programming and Scripting

Testing for no input.

Hi All Can anyone let me have a easy way to test if no input was given to a standard read. I would think of using the lenght of the variable, however this seems to be a long cut. Thx J (8 Replies)
Discussion started by: jhansrod
8 Replies

3. Shell Programming and Scripting

Testing for empty file

Hello, I need to determine if a file I have is empty or not. How can I go about doing this in shell scripting? Some sample code would be appreciated? Thanks, (6 Replies)
Discussion started by: mojoman
6 Replies

4. UNIX for Dummies Questions & Answers

Testing for valid DC's?

Ok so this is sort of a unix question. I am frequently logging into customers boxes and our product integrates with Active directory. I deal with a great deal of people who have no business being admins but are and they don't know squat about their network or their DC's. So a recurring problem... (4 Replies)
Discussion started by: MrEddy
4 Replies

5. UNIX for Dummies Questions & Answers

Testing for subdirectories

Hello, Can anyone help me figure out how to test if the item in the directory is a subdirectory? I'm writing a code to copy all the contents of directory1 to directory2, but I want to skip all the subdirectories. Thanks! (4 Replies)
Discussion started by: l flipboi l
4 Replies

6. Programming

Testing floating point numbers

Hi guys I have problem with my simple calculator, author of my book wrote One way I tried is to test if one the inpur number is grater than zero, and then substatct And my protptype function is #include <stdio.h> int main(void) { float a, b , result; ... (11 Replies)
Discussion started by: solaris_user
11 Replies

7. UNIX for Dummies Questions & Answers

shell scripting question

Testing for the presence/absence of a pattern in a file, using /bin/sh: while read a; do b="${a##*pattern*}"; ; done < file This returns 0 if there's a match. That signal ($?) can then be used outside the loop. However this method reads through the whole file, even if the match... (2 Replies)
Discussion started by: uiop44
2 Replies

8. UNIX for Dummies Questions & Answers

Script test failing

Testing some old script developed by different user. #!/usr/bin/sh case "$0" in */*) cmd="$0";; *) cmd=`which "$0"`;; esac dir=`dirname "$cmd"` node="$dir/." echo $node below two simple tests are failing, I am not seeing any Control+M characters in the script file and I am not able... (4 Replies)
Discussion started by: srimitta
4 Replies

9. Programming

Integrating bash shell

Hi folks... I am working on a project where I need to have online bash bash shell integrated in my web page. I am not clear of how to do it. can any one suggest?? The UI needs to be developed in c#. (11 Replies)
Discussion started by: keerthi koneru
11 Replies