Skip to content

Instantly share code, notes, and snippets.

View iojohnso's full-sized avatar

Isaac Johnson iojohnso

  • Minnesota, United States
View GitHub Profile
@iojohnso
iojohnso / gist:6427616
Created September 3, 2013 18:22
mcn check digit
function ComputeCheckDigit(strMCN){
var i;
var intStep1;
var intStep2;
var intStep3;
var intStep4;
var intDigit;
strMCN=Left(strMCN,7);
@iojohnso
iojohnso / simple_example.js
Created February 15, 2013 13:22
Quick example of how to write a function in javascript...
// ------------------------------------------------------
// Hey, this just an example, but you get the idea
// ------------------------------------------------------
// Simple function
function alertUser(message){
// a popup will occur here listing out the desired message;
alert(message);