Language Maya Embedded Language
Date: | 04/20/05 |
Author: | Anonymous |
URL: | n/a |
Comments: | 4 |
Info: | n/a |
Score: | ![]() |
Mel, or "Maya Embedded Language" is an interpreted scripting language used for the 3d animation software Maya. // This version is perhaps cleaner to read for( $i = 99; $i > 0; $i++){ print( $i+" bottles of beer on the wall,\n" +$i+" bottles of beer.\nTake one down, pass it around,\n" +($i-1)+ " bottles of beer on the wall!\n")); }
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments
// This version is perhaps cleaner to read
for( $i = 99; $i > 0; $i--){
print( $i+" bottles of beer on the wall,\n"
+$i+" bottles of beer.\nTake one down, pass it around,\n"
+($i-1)+ " bottles of beer on the wall!\n"
}
{
print ($i + " bottle"
if ($i>1) print "s";
print (" of beer on the wall, " + $i + " bottle"
if ($i>1) print "s";
print " of beer.\n";
print "Take one down and pass it around, ";
if ($i-1>0) print ($i - 1 + " bottle"
if ($i-1>1) print "s";
print " of beer on the wall.\n\n";
}
print "No more bottles of beer on the wall, no more bottles of beer.\n";
print "Go to the store and buy some more, 99 bottles of beer on the wall.";
is a very interesting and useful file search engine. This search engine gives you opportunity to find all things you need, such as games, movies or soft. Enjoy it!!