Content deleted Content added
SilverLocust (talk | contribs) fixed some where the nowiki does make a difference |
Jerryobject (talk | contribs) m WP:LINKs: needless WP:PIPEs > WP:NOPIPEs; update-standardizes, adds. |
||
Line 279:
| <code>int</code>
|-
| [[
| colspan=2 {{n/a}}
| colspan=2 {{n/a}}
Line 591:
| {{n/a}}
|-
| [[
| <!-- ''x'' = ''value f''; -->
| <!-- ''x'' = ''value''; -->
Line 787:
|
|-
| [[
| {{n/a}}
| {{n/a}}
Line 971:
| {{n/a}}
|-
| [[Object Pascal]] ([[Delphi (software)|Delphi]])
| <code>string</code>
| <code>variant</code>
Line 1,004:
| <code>Object</code>
|-
| [[
|
|
Line 1,226:
| {{n/a}}
|- valign="top"
| [[Object Pascal]] ([[Delphi (software)|Delphi]])
| <code>array of'' type''</code>
| <code>array of array ''...'' of ''type''</code>
Line 1,248:
|
|- valign="top"
| [[
| <code>x = ''type''[''size''];</code>
| <code>x = ''type''[''size<sub>1</sub>'','' size<sub>2</sub>'', ''...''];</code>
Line 1,458:
| {{n/a}}
|-
| [[
| <code>struct {''name [=value], ...''}</code>
|
Line 1,672:
| <code>''name'' = ''initial_value''</code>| <code>''name'' = ''initial_value''</code>
|-
| [[
| <code>''name'' = ''initial_value'';</code>
|
Line 1,917:
| Python 2.5+:<br/><code>''valueIfTrue'' if ''condition'' else ''valueIfFalse''</code>
|- valign="top"
| [[
| <code>if (''condition'') { ''instructions'' } «else { ''instructions'' }»</code>
| <code>if (''condition'') { ''instructions'' } else if (''condition'') { ''instructions'' } ''...'' «else { ''instructions'' }»</code>
Line 2,150:
| <code>for ''item'' in ''set'':<br/>{{keypress|Tab}}''instructions''<br/>«else:<br/>{{keypress|Tab}}''instructions»''</code>
|-
| [[
| <code>while (''condition'') { ''instructions'' } «then ''optional-block»''</code>
| <code>do { ''instructions'' } while (''condition'') «then ''optional-block»''</code>
Line 2,266:
| <code>assert(''condition'');</code>
|-
| [[
| <code>try { ''instructions'' } catch ''«exception»'' { ''instructions'' } ''...'' «finally { ''instructions'' }»</code>
| {{dunno}}
Line 2,544:
|
|-
| [[
| <code>break;</code>
| <code>continue;</code>
Line 2,596:
== [[Subroutine|Function]]s ==
See ''[[
{| class="wikitable sortable"
|- valign="top"
Line 2,700:
| {{n/a}}
|- valign="top"
| [[
| <code>foo(''«parameters» «;qualifiers»'')</code>
| <code>define foo (''«parameters»'') { ''instructions'' }</code>
Line 2,967:
| colspan=2| <code>''string'' = str(''number'')</code>
|-
| [[
| <code>''integer'' = [[atoi]](''string'');</code>
| <code>''long'' = [[atol (programming)|atol]](''string'');</code>
Line 3,173:
| <code>print(''x«'', end=""», file=sys.stderr)</code>
|-
| [[
| <code>[[fgets]] (&''x'', stdin)</code>
| <code>[[fputs]] (''x'', stdout)</code>
Line 3,340:
| first argument
|-
| [[
| <code>__argv[''n'']</code>
| <code>__argc</code>
Line 3,530:
| <code>os.execv(''path'', ''args'')</code>
|-
| [[
| <code>system(''command'')</code>
|
|