Guest User

Untitled

a guest
Jul 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. // Vanilla
  2. Main()
  3. {
  4. Bob = 4;
  5. Sally = Bob + 4 * 3;
  6. }
  7.  
  8. // Control Structures
  9. Controls ( numIters )
  10. {
  11. if ( numIters == 4 )
  12. {
  13. for ( curItr = 0; curItr < numIters + 1; ++curItr ) ;
  14. while ( --curItr ) doStuff( curItr );
  15. }
  16.  
  17. for ( ; ; )
  18. if ( true ) null;
  19. else
  20. {
  21. susy = doOtherStuff( fanny, "apples" ) * 3;
  22. }
  23. }
  24.  
  25. // Wacky Stuff
  26. Wacky ( susan, bob, fred, joe )
  27. {
  28. 42 = [ ++susan++ = bob == fred ? joe : susan, [ 4, 1 ], "funnvar" ];
  29.  
  30. for ( fred = [ 42, [] ]; fred == ( --fred++, fred - [ "cat" ] ); bar == "bar" )
  31. fred = fred == 4 || fred == 2 ? 41 : "forty-one";
  32.  
  33. fred[ "susy" ] = [ "susy", 99 ];
  34.  
  35. //Bad
  36. //fred[ "susy", 4 ];
  37.  
  38. //Bad
  39. //susy = ();
  40.  
  41. }
Add Comment
Please, Sign In to add comment