Forum: Pascal and Delphi May 7th, 2008 |
| Replies: 4 Views: 820 menu procedure should be likeprocedure menu(var option:integer);
{so this'll be where you put all txt to display,i'm saving myself a few lines here lol}
readln(choice);
end;
{top level begins... |
Forum: Pascal and Delphi May 6th, 2008 |
| Replies: 4 Views: 820 well i distinctly remember seeing something as 'show real effort with ur assignments'.....Anyways wut you should do is to make a procedure for da menu and in it use a parameter that'll pass the... |
Forum: Pascal and Delphi Apr 25th, 2008 |
| Replies: 9 Views: 1,302 ok scrap that jst use a char wiv it
here's a rough pseudocode
begin
counter variable:=1or0
char variable:='y'
while (counter logic) AND (char_variable<>n) do
begin
bla
bla
bla |
Forum: Pascal and Delphi Apr 25th, 2008 |
| Replies: 9 Views: 1,302 use a boolean variable with that loop to give da user a choice to continue adding records or to quite..That should do da trick
ima try out this code myself lol |
Forum: Pascal and Delphi Apr 24th, 2008 |
| Replies: 9 Views: 1,302 if this is ur exact code then there's a flaw,you don't have a loop with da size variable inside that procedure.so in other words it always writes to da 0 position of da array... |
Forum: Pascal and Delphi Apr 24th, 2008 |
| Replies: 9 Views: 1,302 copy paste it and put it between ['code'] ['/code'] tags(without da quotes) ;)
makes stuff easier,ppl are jst too lazy or too busy to stop and download an attachment no matter how small it maybe :) |
Forum: Pascal and Delphi Apr 24th, 2008 |
| Replies: 9 Views: 1,302 you know bro you'd probably gotten an answer if you'd jst put da code with ur post....anyways ur problem should be a simple logical error within the procedure that you made to add items to the record... |
Forum: Pascal and Delphi Apr 17th, 2008 |
| Replies: 9 Views: 2,059 use enter key when you're typing that code will ya :P:) |
Forum: Pascal and Delphi Apr 17th, 2008 |
| Replies: 10 Views: 13,808 i'm still cutting my teeth on pascal so i guess delphi wud be the logical path for me to turn to in the future? |
Forum: Pascal and Delphi Apr 14th, 2008 |
| Replies: 9 Views: 2,059 went through my book but it only has a single page on binary searching and that too in pseudocode !
wdh ima fight my headache and type that code in lol..use enter once in a while will ya :P |
Forum: Pascal and Delphi Apr 14th, 2008 |
| Replies: 9 Views: 2,059 bdw 99% cpu usage is probably cuz a loop is running,happens with while loop when da counter variable value is not defined before da loop ;)
p.s sorry for da double post mods,can't really bother... |
Forum: Pascal and Delphi Apr 14th, 2008 |
| Replies: 9 Views: 2,059 okay reading that(well trying to read that) gave me a headache lol,anyways i jst started wiv txt file manipulation and stuff so no idea here.. !
got a couple of pascal tutorial links if you want :) |
Forum: Pascal and Delphi Apr 13th, 2008 |
| Replies: 3 Views: 5,405 kewlness :D....needed a bit of modifying to get it working thou |
Forum: Pascal and Delphi Apr 13th, 2008 |
| Replies: 6 Views: 2,140 SysUtils is a turbo pascal unit? |