PROGRAM Fibonacci;
VAR
x1, x2, xc, r:real;
BEGIN
x1:=0.0;
x2:=1.0;
WHILE hellfreezesover DO BEGIN
xc:=x2+x1;
r:=xc/x2;
writeln(xc:30:0,r:30:28);
x1:=x2;
x2:=xc;
END;
END.
void PrintPathInfo() {
NSString* partialPath = @"~";
NSString* mypath = [partialPath stringByExpandingTildeInPath]; //get expanded path as a NSString
NSLog(@"My home folder is at %@", mypath);
NSArray *pathbits = [mypath pathComponents]; //Chop the path NSString to bits into an NSArray
for (NSString *el in pathbits) { //display the pieces in console
NSLog(@"%@", el); //Using Fast Enumeration
}
}
void PrintPathInfo() {
NSString* partialPath = @"~";
NSString* mypath = [partialPath stringByExpandingTildeInPath]; //get expanded path as a NSString
NSLog(@"My home folder is at %@", mypath);
NSArray *pathbits = [mypath pathComponents]; //Chop the path NSString to bits into an NSArray
for (NSString *el in pathbits) { //display the pieces in console
NSLog(@"%@", el); //Using Fast Enumeration
}
}
PROGRAM Fibonacci;
VAR
x1, x2, xc, r:real;
BEGIN
x1:=0.0;
x2:=1.0;
WHILE hellfreezesover DO BEGIN
xc:=x2+x1;
r:=xc/x2;
writeln('New ',xc:30:0,'Ratio ',r:30:28);
x1:=x2;
x2:=xc;
END;
END.
So PHP picks up some of it, but has an awful color sense.
Plus, bonus info!, the PHP tags, unlike quote tags, get carried thru when you quote another post.