This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"CRITERIA":"Reg_ID = 0 & Fac_Type_ID = 0","RESULTS":{"1462":{"ZIP":54880,"REG_NAME":"VISN23: VA Midwest Health Care Network","FANDL_URL":"http://vaww.va.gov/directory/guide/facility.asp?id=5175","STATIONID":"618BY","FAC_INTERNETURL":"http://www.minneapolis.va.gov/locations/TwinPorts.asp","LONGITUDE":-92.104072,"STATE":"WI","FAC_INTRANETURL":"http://vaww.minneapolis.va.gov","DIV_NAME":"VeteransHealth Administration","CITY":"Superior","FAC_ID":5175,"ADDRESS":"3520Tower Avenue","FAC_NAME":"Twin Ports VA Clinic","SHOWPHOTO":1,"SHOWMAP":1,"PHONE_NUMBER":"715-398-2400","FAX":"715-392-3782","LATITUDE":46.697503,"TYPE_DESC":"CommunityBased Outpatient Clinic"},"1461":{"ZIP":61081,"REG_NAME":"VISN 23: VA MidwestHealth Care Network","FANDL_URL":"http://vaww.va.gov/directory/guide/facility.asp?id=6152","STATIONID":"636GT","FAC_INTERNETURL":"http://www.iowacity.va.gov/locations/CBOC_Sterling_IL.asp","LONGITUDE":-89.700231,"STATE":"IL","FAC_INTRANETURL":"","DIV_NAME":"VeteransHealth Administration","CITY":"Sterling","FAC_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 1 | |
var name = "Bob" | |
var physicsRoomNumber = "123 B" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 1 | |
a = 253 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let stopSignText = "STOP" | |
let myFirstName = "Bob" | |
let appleCompanyName = "Apple Inc." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this is the start of the comment | |
This is a multi-line comment | |
*/ //This is the end of the comment noted with a single line comment | |
var myString = "Not a comment" | |
/* | |
* Most people use multi-line comments like this. It helps them to | |
* know what is and is not a comment | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This does not work | |
var myString // we get a compiler error | |
// This is how it should be written | |
var myLastName: String | |
var myAge: Int | |
// You can, and should, use the type declaration with initial values | |
// so you know exactly what the value should be later on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myString = "Hello" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// same as var age = 21 except this is a pointer in C | |
char *name[]= "Bob"; | |
// In Objective-C it would look like this | |
NSString *name = @"Bob"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Math Operators | |
// Addition | |
var a = 10 + 20 // a is equal to 30 (10 + 20 = 30) | |
// Subtraction | |
var s = 100 - 75 // s is equal to 25 (100 - 75 = 25) | |
// Multiplication - we use * to multiply | |
var m = 10 * 15 // m is equal to 150 (10 x 15 = 150) | |
// Division - we use / to divide | |
var d = 100 / 50 // d is equal to 2 (100 ÷ 50 = 2) | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remainder - also referred to as Modulo | |
var r = 25 % 7 // r is equal to 4 (25 / 7 = 3 with remainder of 4 |
OlderNewer