it says in the wiki that it means that one should expect to put a variable there... so its more of a aid than a hinder and it is in some weird way relevant...
var age : byte;
begin../...
age:= 12;
remember that it is the simplest language out there and is aimed at beginners... yh the syntax is a bit crappy and the data types are drab but its ok... as i said before... it has as much functionality as C... its only lacking Object Oriented Programming(classes../..).
alot of pascal code can be translated to C++ and it was my knowledge of C/C++ that made pascal a breeze to learn... its handles are simpler than C/C++ (picture this_
#Pascal
Uses Crt; //calls on the graphics..//..
clrscr; //clears the screen
#C++
// clears the screen(hideously long function that clears the entire dos window and brings the cursor back to the default position)
void clrscr(char character); //function header
void clrscr(char character) //function itself
{
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); //calls the graphics...
COORD coordScreen = {0, 0};
DWORD cCharsWritten;
CONSOLE_SCREEN_BUFFER_INFO csbi;
DWORD dwConSize;
GetConsoleScreenBufferInfo(hConsole, &csbi);
dwConSize = csbi.dwSize.X * csbi.dwSize.Y;
FillConsoleOutputCharacter(hConsole, (TCHAR) character,
dwConSize, coordScreen, &cCharsWritten);
GetConsoleScreenBufferInfo(hConsole, &csbi);
FillConsoleOutputAttribute(hConsole, csbi.wAttributes,
dwConSize, coordScreen, &cCharsWritten);
SetConsoleCursorPosition(hConsole, coordScreen);
}
and i could go on and on... just leave pascal alone... its for noobs
► with me... now ■ and think...