Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| universe:earth:officers2 [ 1 Feb 2008 14:33] – created james | universe:earth:officers2 [ 9 Feb 2008 21:28] (current) – james | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| $Capts = $Cdrs + rand (0,4); | $Capts = $Cdrs + rand (0,4); | ||
| $RAdms = $Capts + rand (0,1); | $RAdms = $Capts + rand (0,1); | ||
| - | $Apps = rand (6,200); | + | $apps = rand (6,200); |
| $no = 590000; | $no = 590000; | ||
| // set up some arrays as lookups for the values from the d10 rolls | // set up some arrays as lookups for the values from the d10 rolls | ||
| $Branch=array(" | $Branch=array(" | ||
| - | $Posting = array(" | + | $Posting=array(" |
| - | $Ranks = array (" | + | $Ranks=array(" |
| // set up a table inside a form so that the chosen applicants can be taken forwards to the next stage. | // set up a table inside a form so that the chosen applicants can be taken forwards to the next stage. | ||
| - | echo "The following Officers have been promoted with effect from 3209.001 \n"; | + | echo "<p>The following Officers have been promoted with effect from 3209.001 \n"; |
| - | echo "\n"; | + | echo " |
| - | Echo "\^ Last 4 \^ | + | < |
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| $appl=1; | $appl=1; | ||
| // for each applicant then roll the various dice and then set the variables | // for each applicant then roll the various dice and then set the variables | ||
| Line 105: | Line 114: | ||
| $no=rand(0, | $no=rand(0, | ||
| - | echo "\| $no.$post.$gen.$Gender | + | echo "< |
| $appl++; | $appl++; | ||
| } while ($appl< | } while ($appl< | ||
| + | echo "</ | ||
| </ | </ | ||