Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.878.484 Times

Readable switch construction 1.7

  Date Added: May 10, 2013  |  Visits: 226

Readable switch construction

Report Broken Link
Printer Friendly Version


Product Homepage
Download (28 downloads)



Python's lack of a 'switch' statement has garnered much discussion and even a PEP. The most popular substitute uses dictionaries to map cases to functions, which requires lots of defs or lambdas. While the approach shown in this script may be O(n) for cases, it aims to duplicate C's original 'switch' functionality and structure with reasonable accuracy.

Requirements: No special requirements
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python , BSD Solaris
Keyword: Construction Function Switch Switch Construction Switch Function Switch Statement Emulation
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


READABLE SWITCH CONSTRUCTION RELATED
Development Tools  -  phpfunc 0.1b 1.0
phpfunc is a command line perl script that returns documentation on a builtin php function, works like perldoc -f function. phpfunc currently requires a connection to a web server that is serving the plain html version of php online documentation....
 
Miscellaneous  -  Extract a inner function from a class 1.1
This function can extract a inner function from a class or a function. It may be useful when writing a unit test code.
 
Games  -  Bad with Jad 1.0
Do you want a firecape? Do you have trouble with Jad? This app helps quicken your reflexes so you can switch prayers faster! Adjust speed, switch prayers, dont die ever again to Jad! Any Runescape player should know how to take on...
5.1 MB  
Utilities  -  Latch by ElevenPaths 1.4.0
Turn your phone into the safety switch for your digital life! Switch off your digital accounts when you are not using them Have your credit cards and bank accounts active just when you need them Schedule the automatic...
7.4 MB  
Development Tools  -  Newton - Raphson method 1.0
It is a Matlab function that determines the zero of a regular real function.zero=newton_raphson(function,error)The function has two input variable: 'function' is a string that represents the function of which find the relative zero. It must be...
10 KB  
Development Tools  -  farg: a pedestrian M-file parser showing all used functions' syntax 1.0
FARG parses an M-file (function or script) searching for function tags and lists their exact, literal syntax.in addition, FARG displays a wide variety of file statistics.currently, these functions are detected and listed- main function-...
20.48 KB  
Development Tools  -  ATAN2_SAFE 1.0
This will perform the same function as Matlab built-in function ATAN2 butsafely guarded against erroneous results when the inputs are very small (near to a machine zero).Due to the round off errors in the numerical calculations, the twoinputs to...
10 KB  
Utilities  -  Linux Multilayer Switch 2006-08-07-01
Linux Multilayer Switch is part of a larger project that aims at building a Linux-based Layer 2 and 3 switching appliance. We hope this will be integrated into the official Linux kernel someday, but first our code must reach maturity and then we...
82.94 KB  
Networking Tools  -  Bait and Switch Honeypot System 2.1
The Bait and Switch Honeypot is a multifaceted attempt to take honeypots out of the shadows of the network security model and to make them an active participant in system defense. To do this, we are creating a system that reacts to hostile...
378.88 KB  
Modules  -  Switchtheme 1.0
The Switchtheme Drupal module allows you to create a block to allow users to switch themes on the fly. The module will present users with a list of all enabled themes and allow them to choose between them. Anonymous users have their choices...
 
NEW DOWNLOADS IN SCRIPTS, MISCELLANEOUS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Miscellaneous  -  ZZIPlib Library for File sharing 0.13.56
Different applications can group files together into a single .zip archive and access them afterward.The library uses only the patent-free compression-algorithms supported by Zlib.It provides functions that transparently access files being either...
675.84 KB  
Miscellaneous  -  Traveling Salesman Problem - Nearest Neighbor Script 1.1
This method produces different results depending on what city is choosen as the starting point.This function determines the Nearest Neighbor routes for multiple starting points and returns the best of those routes.
10 KB  
Miscellaneous  -  N/A Checkbox 6.x-1.8
N/A Checkbox will allow website builders to add a checkbox next to a number textfield. The idea is to provide the users a textfield to enter a numeric value, or mark N/A in case they don't have it. When the N/A option is marked, a different value...
10 KB  
Miscellaneous  -  ILIAS LMS 4.1.2
ILIAS is a web base learning management system (LMS, VLE).Features of ILIAS LMS:- Courses,- SCORM 1.2 and 2004,- mail,- forum,- chat,- groups,- podcast,- file sharing,- authoring,- CMS,- test,- wiki,- personal desktop,- LOM,- LDAP,- role based...
89 MB  
Miscellaneous  -  Scribe for WordPress 2.0.4
Scribe is an SEO software service for WordPress - think of it as a content optimization assistant - that analyzes web pages, blog posts, and online press releases at the click of a button.Scribe then tells web writers of any kind how to tweak...
10 KB