Hi, sorry ZS but u used functions.. we didnt reach that yet.. the prog should be like this one but instead of horizontal it should be vertical program temps; ...
Dear Jason, Well, "all" you have to do is interchange the usage of vertical and horizontal, but since output is not via an x-y plotter, it is messy since you...
Well, actually, if the output is to go to the screen, and only then, you could use the bizarrely-named GoToxy procedure (I keep thinking of toxins when I see...
hi guys, I have this problem which im trying to solve and i couldnt since some weeks now.. need your help.. plz check the attached file. the output should be...
Why don;t you give us the original problem first? ... __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! ...
i think the attachment was blocked. it happened to me once. i think it comes with the policy the block attachments. better type your problems in the message...
yes I think youre right, well the attachment is an exe file showing what should be done.. but I will type the whole problem, The Problem: A certain shop sells...
Hi guys I have a wee program i wrote a year or so ago for a college project. The program was to accept bookings for a seminar room and to then allow for these...
This may be a bit late, but the "help" for TP7 states that the Printer unit declares var Lst: text; for you so that writes to that go to the LPT1 device on the...
... The problem with this is that unlike dot matrix and laser printers (that were both quite common when TP7 was new), many modern inkjet no longer support...
Hi guys, Im writing a program which has some if statements like: if g='A' then .... etc.. my problem is when I input 'a' instead of 'A' the programs doesnt...
If you look at an ASCII chart, you will notice that the value assigned to "A" is 65, and the value assigned to "a" is 97. Compilers tend to be very fussy...
Dear Glenn, Thanks for what you wrote here,, well im using turbo pascal.. and the problem is that the program asks the user to input grades like 'A-','B+'.....
I don't know of any compiler or language which will default to a case-free text comparison. "A" and "a" are completely different ASCII characters. I don't...
... Try (if g='a' OR g='A') Rachael. -- http://www.thegangonline.org.uk // MSN & AIM - E-mail and ask us // "And I dream one day I'll find, The ones who...
Dear Rachel, I have tried that, but it didnt work :) jj,, ... wrote: > In message ... ______________________________________________________________________ ...
Hi Jason, Once again, I point out that I have not a clue about which version of Turbo Pascal you are using. This is an important factor for most issues. My...
Dear Glenn, well, im not much into details in pascal but, im using TP 7.1 , and im not much into arrays... :( non of the clues I read here I understood......
With all this talk I forgot what was the original question. Could you please formulate it again? As far as I understood you want something to be executed when...
Dear Laurian, My problem is as follows: Im writing a program which calculates the GPA by inputing grades like 'A', 'A-' etc.. and credits for each grade.. the...
... It didn't work because OR operator has higher priority than =, so g = 'a' OR g = 'A' is the same as g = ('a' OR g) = 'A' which is a total nonsense. Use...
Yes, I intended to give you the same idea as Ondrej but was confused by the very complicated response that suggested arrays. This is the reason for which I...
Why use a two-dimensional array? For elegance in the final product. JJ appears to be attempting to equate specific grades with specific numerical values. So...
Remember that UpCase only works on a single character, not a string. You have grades such as A+, which is presumably held in a string. I replied to your...
Come on people!!! Why must you write such complex logic sequences? Multi-dimensional arrays provide extremely elegant solutions to otherwise complex logic...