Pascal: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==See also== *[http://www.marcocantu.com/epascal/ Marco Cantù's Essential Pascal] *Wikipedia:Pascal (programming language) *[http://www.freepascal.org/ Free Pascal] *[htt...") |
No edit summary |
||
Line 6: | Line 6: | ||
*[http://www.allegro.com/papers/htpp.html How To Code: Pascal] | *[http://www.allegro.com/papers/htpp.html How To Code: Pascal] | ||
==Comparing BR and Pascal== | |||
{| border="1" align="center" cellspacing=0 cellpadding=5 | {| border="1" align="center" cellspacing=0 cellpadding=5 |
Latest revision as of 22:11, 15 October 2013
See also
- Marco Cantù's Essential Pascal
- Wikipedia:Pascal (programming language)
- Free Pascal
- Pascal Central
- How To Code: Pascal
Comparing BR and Pascal
BR! | Pascal |
---|---|
"string literal" | 'string literal - single quotes must be used. double quotes do not work' |
& (concatenate) | in BR "dave"&"tom" works fine in Pascal this is 'dave''tom' |
chr$(xx) | #xx |
SRep$ | StringReplace
Memo1.Text := StringReplace( Memo1.Text,'number1','Text1',[rfReplaceAll]); |
! | // Comments are enclosed in either braces or parentheses followed by a star or C++ style comments, which can span to the end of the line.
|
len() | length() |
Open #1:"name=test,replace",d,o Print #1: "Test this line" Close #1: |
SaveStringToFile('test', 'Test this line', False); |
Free filename | DeleteFile(filename) |