Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-02

urgent request/question

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

j y

please help. i need the code in below translated to borland pascal:
let's say: num1min :=10 num1max :=20 num2min :=10 num2ref :=100
Repeat
(* some stuff go here *)
num1[a] := num1min + num1incr.
num2[a] := num2min + num2incr.
Until num2 > num2ref
Then like to print the results after the test is
stopped to screen/file:
If num1 <= num1min then print "val <= actual value of num1min"
If num1min < num1 < num1max then print "val = actual value of num1"
If num1 >= num1max then print "val >= actual value of num1max".

__________________________________________________ Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Reply by email

Unknown author

So how long has it been since you studied your book in that Pascal class you're taking? Besides your description of what you need isn't very clear anyway. What on earth does the assignment say to do?

j y wrote 25 lines
please help. i need the code in below translated to borland pascal: let's say: num1min :=10 num1max :=20 num2min :=10 num2ref :=100 Repeat (* some stuff go here *) num1[a] := num1min + num1incr. num2[a] := num2min + num2incr. Until num2 > num2ref Then like to print the results after the test is stopped to screen/file: If num1 <= num1min then print "val <= actual value of num1min" If num1min < num1 < num1max then print "val = actual value of num1" If num1 >= num1max then print "val >= actual value of num1max". __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

j y
to Unknown author

It is not an assignement.
I have meaured two arrays of numbers.
I did not know that the underlying software was
written in
borland pascal.
jim

--- wrote 43 lines
So how long has it been since you studied your book in that Pascal class you're taking? Besides your description of what you need isn't very clear anyway. What on earth does the assignment say to do? In a message dated Tue, 5 Feb 2002 9:28:34 PM Eastern Standard Time, j y writes: > please help. i need the code in below translated to > borland pascal: > let's say: num1min :=10 num1max :=20 num2min :=10 > num2ref :=100 > Repeat > (* some stuff go here *) > num1[a] := num1min + num1incr. > num2[a] := num2min + num2incr. > Until num2 > num2ref > Then like to print the results after the test is > stopped to screen/file: > If num1 <= num1min then print "val <= actual value of > num1min" > If num1min < num1 < num1max then print "val = actual > value of num1" > If num1 >= num1max then print "val >= actual value of num1max". > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > _______________________________________________ > fpc-pascal maillist - >

http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Show quoted text 7 lines
_______________________________________________ fpc-pascal maillist -

http://lists.freepascal.org/mailman/listinfo/fpc-pascal

__________________________________________________ Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Reply by email

raoul s
I have "a1: double" and "b1: integer". are these
valid:
a1 := (round)b1;
and then;
a1 := a1 + b1;

????

please correct me if i am wrong.
borland! what a place!
raoul

__________________________________________________ Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Reply by email