Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Turbo Pascal.exe
  
User name:
Password:
Reply:
 

UserPost
supernova05
Posts: 68/70
Look Its up to you.
Don Killmi
Posts: 28/29
Programmer friendly but Not user friendly.
How? You can create "user-unfriendly" crap with any language known to men
Most programs look quite similar
Again, could it be that all crap programs are similar in that they're crap?
Visual Basic wasn't meant to program games back in the day when the difference in speed between it and others was noticeable. But you can do nifty things in VB that would take ages to do in MSVC++, for example.
The truth is, VB trades excellence in speed/ for excellence in design/rapid development/ease of use. Debugging a visual basic program is the easiest thing ever (compared to gdb, for example). It doesn't mean it can't be used to make games and stuff, just that you would be best served with c/c++ (with some asm sprinkled here and there). I would never ever program a small database management program with c/c++ or pure asm, seeing that VB makes things so much easier.

Oh, and Delphi is good. mainly because of self contained executable programs, opposed to VB's program + runtimes (which aren't that big, nowhere near the size of the .NET runtimes, for example).
supernova05
Posts: 61/70
Originally posted by Kyoufu Kawa
...People still use Delphi?

... I use Visual Basic 6, mostly, me...

I believe you should give up visual basic because:
- Ridiculous Large File Sizes
- Limited Fuction
- Programmer friendly but Not user friendly.
- Most programs look quite similar
- Hard to really do things that you want e.g in games.

I would reconmend DELPHI or C++ as an alternative. Yet again its up to you.
creaothceann
Posts: 48/50
You can write your code in any language you want; it all gets converted to ASM anyway. The only difference is what tools the language gives you for your tasks. So far the only thing that I would've liked to have in Object Pascal is some control about code inlining.

Btw. don't confuse the language with the compiler / interpreter / product / IDE / whatever.

Originally posted by FloBo
If you just want to write some efficient and "just-do-this-one-task"-tools, you should use C or C++...

The Delphi compiler is quite close to C/C++ compilers, and I'd guess that string-handling programs are faster and more secure. (This is probably not the case with .net programs.)

Originally posted by FloBo
And still if you want to write something larger like a development environment or stuff, you should just say goodbye to old crappy Pascal and get used to Java... It's not as slow as it used to be some years ago and it is portable!!! Plus you can do nearly anything with this baby^^

I've heard that Java is not that good for low-level stuff, and that only the core language features are truly portable. As soon as you use platform-specific features, you have to port your code (or parts of it).
neotransotaku
Posts: 3982/4016
if you want the sign of the times, my biological thermodynamics textbook (published first in 2001), has a BASIC program to do some biological modeling...

c'mon BASIC
FloBo
Posts: 95/101
Umm.... well, for people who like WYSIWYG-editors, both Delphi and VB may be a nice choice....

If you just want to write some efficient and "just-do-this-one-task"-tools, you should use C or C++...


And still if you want to write something larger like a development environment or stuff, you should just say goodbye to old crappy Pascal and get used to Java... It's not as slow as it used to be some years ago and it is portable!!! Plus you can do nearly anything with this baby^^



@Kyoufu Kawa: Yes, apparently.... my f***ing prof used to peeve us with using this dead language for every stupid purpose.... totally unnecessary! *brrr* Pascal...
Kyoufu Kawa
Posts: 2434/2481
...People still use Delphi?

...Colleges still use Turbo Pascal!?

OH MY GOD! This is worse than I thought! I thought Pascal was only used as a calling convention these days!



... I use Visual Basic 6, mostly, me...
eNathan
Posts: 30/33
My programming language of choise is Delphi. Once you go delphi, you don't turn back!!1 I wont go into great detail. Oh and about the := operator, yes it is better than a regular "=" because when you see the colon ":" you think "oh, its an assignment". The syntax of Turbo Pascal / Delphi is very good.

As far as Turbo Pascal being shit...maybe the DOS system you are using it with. However, it would be good to learn it, so if you ever get into Delphi, you already know the language.
supernova05
Posts: 26/70
Originally posted by Santa Claus
No, you've clearly used 'writein' somewhere in the code, hence the error:
Originally posted by supernova05
''writein is an unkown idetifier"


sorry about that i realised afterwards before that post.
Thanks for the help

edit:
there were so many errors in that one i had to do it from scratch here is the new code:
it works perfectly thanks to your help

program menu1 (input, output);
uses CRT;
const
DOLLARS =1.5;
MARKS =3.4;
FRANCS =11;
var
Choice :char;
Currency :real;
Pounds :real;
begin
repeat
clrscr;
writeln('Currency conversion program');
writeln;
writeln('(M)arks');
writeln('(D)ollars');
writeln('('(F)rancs');
writeln;
write('Which currency do you want to convert to pounds? ');
readIn(choice);
writeln;
case Choice of
'D', 'd':
begin
writeln('Enter the amount to convert to dollars');
readIn (Pounds);
Currency:=Pounds*DOLLARS;
writeln('You would get ', Pounds:0:0,
'Dollars for',Pounds:0:0, ' Pounds');
writeln('press Enter to return to the menu');
readln;
end;
'M', 'm':
begin
writeln('Enter the amount to convert to marks');
readIn(pounds);
Currency:=pounds*Marks;
writeln(You would get ',Currency:0:0,
'Marks for ',Pounds:0:0, ' Pounds');
writeln('Press Enter to return to the menu');
readln;
end;
'F', 'f':
begin
writeln('Enter the amount to convert to Francs');
readln(Pounds);
Currency:= Pounds*FRANCS;
writeln('You would get ',Currency:0:0,
'Francs for ',Pounds:0:0,
writeln('Press Enter to return to the menu');
readln;
end;
'X', 'x':
writeln('Exiting program. .');
else
begin
writeln('Invalid option. Please try again');
writeln('Press Enter to return to the menu');
readln;
end;
end;
until (Choice = 'X') or (Choice = 'x');
end.
MathOnNapkins
Posts: 2187/2189
more like... in every single case. B/c if you search this page for writein you'll see about 10 instances of it.
HyperLamer
Posts: 7907/8210
No, you've clearly used 'writein' somewhere in the code, hence the error:
Originally posted by supernova05
''writein is an unkown idetifier"
supernova05
Posts: 25/70
no it just looks like that becoz its italsised.
HyperLamer
Posts: 7895/8210
writeln, not writein. L, not I.
supernova05
Posts: 24/70
I just attempted to make a currency converter but i got a prob with the code
iam not sure where it went wrong but the compile says
''writein is an unkown idetifier" iam using tp 5.5, can anyone help??



program menu1 (input, output);

uses CRT;

const

DOLLARS =1.5;

MARKS =3.4;

FRANCS =11;

var

Choice :char;

Currency :real;

Pounds :real;

begin

repeat

clrscr;

writeIn('Currency conversion program');

writeIn;

writeIn('(M)arks');

writeIn('(D)ollars');

writeIn('('(F)rancs');

writeIn;

write('Which currency do you want to convert to pounds? ');

readIn(choice);

writeIn;

case Choice of

'D', 'd':

begin

writeIn('Enter the amount to convert to dollars');

readIn (Pounds);

Currency:=Pounds*DOLLARS;

writeIn('You would get ', Pounds:0:0,

'Dollars for',Pounds:0:0, ' Pounds');

writeIn('press Enter to return to the menu');

readIn;

end;

'M', 'm':

begin

writeIn('Enter the amount to convert to marks');

readIn(pounds);

Currency:=pounds*Marks;

writeIn(You would get ',Currency:0:0,

'Marks for ',Pounds:0:0, ' Pounds');

writeIn('Press Enter to return to the menu');

readIn;

end;

'F', 'f':

begin

writeIn('Enter the amount to convert to Francs');

readIn(Pounds);

Currency:= Pounds*FRANCS;

writeIn('You would get ',Currency:0:0,

'Francs for ',Pounds:0:0,

writeIn('Press Enter to return to the menu');

readIn;

end;

'X', 'x':

writeIn('Exiting program. .');

else

begin

writeIn('Invalid option. Please try again');

writeIn('Press Enter to return to the menu');

readIn;

end;

end;

until (Choice = 'X') or (Choice = 'x');

end.


MathOnNapkins
Posts: 2179/2189
Originally posted by knuck
Originally posted by MathOnNapkins
so... um what's the point of this thread supernova?

Just do it and move on. Watch out in pascal b/c the assignment operator is := rather than just =. I think that's actually a good thing b/c it forces you to not think in terms of equals, it makes you think of it as assignment.
That's kinda lame actually.


We could argue how == being the equivalence test in C/C++ is lame too. wouldn't you rather do while(bleh = something)? But we won't argue about it b/c no one's going to change the language any time soon. Forcing yourself to change how you think is part of programming.

And to supernova, I myself use C for pretty much everything. Python occasionally as well as Java but only in rare cases.
supernova05
Posts: 23/70
so what programming languages do you guys use?
knuck
Posts: 1740/1818
Originally posted by MathOnNapkins
so... um what's the point of this thread supernova?

Just do it and move on. Watch out in pascal b/c the assignment operator is := rather than just =. I think that's actually a good thing b/c it forces you to not think in terms of equals, it makes you think of it as assignment.
That's kinda lame actually.
MathOnNapkins
Posts: 2178/2189
so... um what's the point of this thread supernova?

Just do it and move on. Watch out in pascal b/c the assignment operator is := rather than just =. I think that's actually a good thing b/c it forces you to not think in terms of equals, it makes you think of it as assignment.
lags_80
Posts: 101/102
Well Turbo Pascal is seems like C, and if you learn Pascal very well, you can use it with Delphi.
supernova05
Posts: 22/70
I just started a new language called turbo pascal at college its so crap i mean compared to other languages this one is the worst one so far i mean who needs the msdos interface anymore???
Acmlm's Board - I2 Archive - Programming - Turbo Pascal.exe


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.