Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Dubbemiah
  • Content: Threads
  • Order by date
  1. Dubbemiah

    [ or .) needed

    I am trying to do the following expression and receive an error: damage := (str*2.5)-(.5*marmor); and i get an error like this: [ or .) needed. Can anyone please help? Thanks!
  2. Dubbemiah

    Variable not passing from function to main code

    Hi folks. I'm pretty new to pascal 7.0 and desire help if any are willing. What I'm trying to do: When a user presses "a", the cursor will move 5 spaces to the right. If I replace the last 'x' in the last 'gotoxy' with '10', the program works. But I need the function to return the value of X...
  3. Dubbemiah

    Error 85 Expected ";"

    program myst; uses crt; var name: string; pref: byte; yn1: char; (*procedure name_prefix; forward;*) procedure enter_name; begin clrscr; TextColor(3); writeln ('Welcome to Mystrunner. Before we get any further, '); writeln ('please enter the name you wish to...
  4. Dubbemiah

    Input prompts calling procedures

    (not the whole code) program myst; uses crt; yn1 : char; <---variable for yes or no (*------------------------*) procedure enter_name; begin writeln ('Do you like this name?'); yn1 := GetKey; readln (yn1) If yn1 = #78 then enter_name; if yn1 = #89 then name_pref...

Part and Inventory Search

Back
Top