Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Great Knight
23
Years of Service
User Offline
Joined: 25th Feb 2003
Location:
Posted: 3rd Oct 2003 07:29
Wouldent it be cool if you could import Java Class files into dark baic pro.

AMD Atherlon 2400+ XP, 380 DDr memeory, ATI Radeon 9000 64 DDR, Windos XP home edition.
-----------------------And a Katana.
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 3rd Oct 2003 07:40
Depends if you find Java cool or not? Personally I wouldn't touch it with a bargepole. But hey, each to their own.

Oh and no, it'll never happen, sorry

Cheers,

Rich

The sky above the port was the colour of television, tuned to a dead channel.
Your brain's just like any other appliance: it works better if you plug it in...
heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 3rd Oct 2003 08:29
Ummm,... no.

The more you see, the more you know.
The more you know, the more you see.
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 3rd Oct 2003 15:36
you can run java app in DBpro by uesing EXECUTE FILE and sending the class to the JRE. i`v do this but it not the same as import one

--Dr 0--
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Oct 2003 15:59
nope... if i need to code in Java Class style i'll use VC++ and a DLL thanks

however i wouldn't say no if your offering to make a java class from DBP for online use

CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd Oct 2003 19:20
it'd be nice if I can use VB dlls but oh well

-RUST-
adr
23
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 3rd Oct 2003 21:10
If you wanna make DLLs, why not use a proper language like c/c++?

/me puts his flameproof jacket on

Can I ask you a Question?
What is it?
It's an interrogative form of sentence, used to test knowledge. But that's not important right now.
Dreamora
23
Years of Service
User Offline
Joined: 20th Sep 2002
Location: Switzerland
Posted: 3rd Oct 2003 21:27
lol VB dll ... there was something missing VB activeX dll <--- thats the reason why you can't use them, dbp is no com based language
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Oct 2003 00:43
I know why I can't use them, I just said it would be nice.
As far as a proper language yeah C++ used to be king (and still is) but with the advent of .NET and the CLR (Common Language Runtime) the playing field has been leveled between us VB guys and the (for the most part) snotty C++ developers.

-RUST-
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 4th Oct 2003 02:16
You forgot the friendly Delphi programmers.

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Oct 2003 02:50
LOL

-RUST-
MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 5th Oct 2003 05:15
Gosh, Delphi. It would be fun to have a look at, considering I started out in programming once upon a time with Pascal.

*sentimental memories*

Those were the days. Pascal was actually fun to use, even though you couldn't really use it for anything outside school. It was too strict for the newbies, and too slow for the pros.

Besides, the Amiga and AMOS was much cooler and more fun.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 5th Oct 2003 08:34
Quote: "You forgot the friendly Delphi programmers."

nope delphi exports viable DLLs for DBP
RobK's Blue Plugin is a good example

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Oct 2003 10:55
I hate Java, but unfortunately I'm stuck with using it, as its the backbone of my degree.
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 5th Oct 2003 14:55 Edited at: 5th Oct 2003 14:58
Quote: "nope delphi exports viable DLLs for DBP "

Really? Who would have thought it. But wait! Where did I say it doesn't? :p

Quote from Cattlerustler:
"but with the advent of .NET and the CLR (Common Language Runtime) the playing field has been leveled between us VB guys and the (for the most part) snotty C++ developers."

My reply:
"You forgot the friendly Delphi programmers."

So Cattlerustler's sentence should read:
"the playing field has been leveled between us VB guys, the (for the most part) snotty C++ developers and the friendly Delphi developers."

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 5th Oct 2003 14:56
Quote: "Pascal was actually fun to use, even though you couldn't really use it for anything outside school. It was too strict for the newbies, and too slow for the pros."

Fortunately some things *do* change.

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 5th Oct 2003 15:08
I know the original post stated about importing Java classes, but is this what you really mean, are you after a more object oriented approach for DarkBASIC Professional in general? Like what would be nice in DB is usertypes with private/public functions, and most importantly, inheritance. Never mind the polymorphism crap, the inheritance feature would really boost productivity. Unfortunately, and I'm sure that TGC will agree, this detracts the whole simplicity away from DarkBASIC Professional as a unique and easy to use language.

Just a though.

APEX!


CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Oct 2003 18:49
@ Empty

LOL

(vb programmer hugs delphi programmer, both sneer at C++ programmer)

-RUST-
TheOneRing
22
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 5th Oct 2003 19:55
Quote: "(vb programmer hugs delphi programmer, both sneer at C++ programmer)"


What about us folks that use a variety of programming tools to accomplish their desires (and jobs)? Delphi, VB, C++, PHP (I know, scripting)???

(shakes proverbial fist at CattleRustler )
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Oct 2003 02:59


-RUST-
swdave
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 7th Oct 2003 07:00
It would be nice to just have enhanced UDTs!
DrakeX
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 7th Oct 2003 07:06
"It would be nice to just have enhanced UDTs!"

no, it would be nice to have basic UDTs. right now they're not even there yet.

and while we're importing java class files, let's make DBP able to compile every programming language that's ever been written and ever will be written. and fast. and make it all work together. and let's make DBP into an operating system as well!

i'm not saying it's bad to dream but... i swear....

stop looking at me!
Great Knight
23
Years of Service
User Offline
Joined: 25th Feb 2003
Location:
Posted: 7th Oct 2003 08:06
Not like write java way in dark basic, but use functions from the class file you made. so at top I would Import the file and then call the functions like a regular call.

AMD Atherlon 2400+ XP, 380 DDr memeory, ATI Radeon 9000 64 DDR, Windos XP home edition.
-----------------------And a Katana.
MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 7th Oct 2003 08:17
Quote: "
Fortunately some things *do* change.
"


Hey, this WAS when the 386 was beginning to flush out the old 286's.

We were all in awe of that new power-beast. And the the 386 came with something like the whopping 2 MB of RAM.

Our school couldn't afford the new machines, though. We had to trudge on with the old 286's. With Turbo Pascal.

This when there was this strange, imponderable beast called the Amiga out there. The Amiga Amiga 1000 was just beginning to appear in stores. And then, after a while, came that funny sounding basic language. AMOS Pro.

Gee, I feel ancient.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 7th Oct 2003 13:17 Edited at: 7th Oct 2003 13:18
Ah, yes Turbo Pascal.
I switched to the PC with the dawn of the 486s (coming from Atari ST) and programmed quite a few bits and pieces in Turbo Pascal (it was much better than ST-Pascal). But then came Windows 3.0 and Turbo Pascal for Windows. Awful.

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
TheOneRing
22
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 7th Oct 2003 18:37
Anyone else here remember Visual Basic for DOS? or GW-BASIC, or BASIC on the Commodore, or even the TI-994a?
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Oct 2003 19:15
I was an ATARI 400 BASIC guy then sort of "fell" out of programming in my mid-teens, then re-emerged when the 486DX2-66 came along. Then I found VB....sweet!

-RUST-
APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 7th Oct 2003 20:33
TheOneRing, I remember, I still have the original Visual Basic v1 disks which was running on Windows v3.1 on an old 286. Things were certainly different with the language then LOL.


MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 8th Oct 2003 01:31 Edited at: 8th Oct 2003 01:32
Is there a demo of Delphi out there somewhere? Borland us usually, and I guess they have to be, quite liberal with creating demos. I've had basically every instance of C++ Builder from magazine CD's, but never Delphi.

I'm curious as to how similar Object Pascal is to Pascal. Perhaps Object Pascal would be better for me to learn than to struggle with C++? I don't have a head for C++ anyway. I'm way too impatient, particularly about debugging.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 8th Oct 2003 01:53
There use to be a download of "Delphi6 Personal" on Borland's homepage. But since Delphi7 was released the only thing you can download is the trial of the "Architect" version. Prolly you can find "Delphi7 Personal" on a cover CD. It's free for non-commercial use.

Quote: "I'm curious as to how similar Object Pascal is to Pascal. Perhaps Object Pascal would be better for me to learn than to struggle with C++? I don't have a head for C++ anyway. I'm way too impatient, particularly about debugging."

Almost all of the standard Pascal functions and procedures are still in. The OO stuff is well integrated IMHO. If you have a basic idea of OOP you shouldn't have probs with Object Pascal.

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Oct 2003 03:27
OBJECTS RULE

-RUST-
MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 8th Oct 2003 06:24
Quote: "
There use to be a download of "Delphi6 Personal" on Borland's homepage. But since Delphi7 was released the only thing you can download is the trial of the "Architect" version.
"


That's where back issues of magazines come in handy. I just bought a back issue of a swedish mag with Delphi 6 on it. I'm going to have a look at it, and see what all the fuzz is about.

Is there a marked performance difference between Object Pascal and C++? Not that I'd care much. I've had ideas for programs that Visual Basic just doesn't elegantly let me implement. That's why I've been struggling with C++.

Quote: "
If you have a basic idea of OOP you shouldn't have probs with Object Pascal.
"


Well, I've only really used OOP as far as it's implemented in Visual Basic, with its implementation of classes and objects. If it's anything similar, then sure -- I can use it.

We'll see, I guess.

Btw, perhaps one of the mods should move this discussion to General Talk as it appears to have moved far away from talk about Dark Basic Pro.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 8th Oct 2003 12:26
Quote: "Is there a marked performance difference between Object Pascal and C++? Not that I'd care much. I've had ideas for programs that Visual Basic just doesn't elegantly let me implement. That's why I've been struggling with C++."

That depends on the compiler. Generally Delphi produces very fast executables. However, if you need SIMD instructions (MMX, 3DNow) there are alternatives like free pascal or vector pascal.

Quote: "Well, I've only really used OOP as far as it's implemented in Visual Basic, with its implementation of classes and objects. If it's anything similar, then sure -- I can use it."

I don't know VB that much, but from what I've seen it's not that different.

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
MicroMan
22
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 15th Oct 2003 06:36
Got the Delphi 6 magazine cd yesterday. It looks great. It looks very similar to Visual Basic. I think I can use it. Now to buy the live version, and it appears you can do without the VB addons required too and make a truly native application without the runtimes.

Sweet.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
Great Knight
23
Years of Service
User Offline
Joined: 25th Feb 2003
Location:
Posted: 15th Oct 2003 08:18
Now lets talk about Ada with the gcc compiler. lol

AMD Atherlon 2400+ XP, 380 DDr memeory, ATI Radeon 9000 64 DDR, Windos XP home edition.
-----------------------And a Katana.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Oct 2003 08:45
Quote: "What about us folks that use a variety of programming tools to accomplish their desires (and jobs)? Delphi, VB, C++, PHP (I know, scripting)??? "


You forgot the ol' mighty QBASIC!!!!


I used Turbo Pascal on a Cyrix 133. So it was kinda like a 286!
mimesis
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Norway
Posted: 15th Oct 2003 08:48
I hear that PowerBasic is also great for doimg dbp compatible dll's.
I cant get a windows demo ,only dos. Does any know were I can get one?

Me, You, DBP and everything else, were made in the same place. The Stars!
I wonder what kind of matter DBP bugs are made of ... antimatter ??
indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 15th Oct 2003 10:49
Quote: "or even the TI-994a?"


yAy my first ever computer. washed a tonne of windows for it and a 48k rom cartridge.

tunnels of doom rocked on it

Login to post a reply

Server time is: 2026-07-26 04:27:13
Your offset time is: 2026-07-26 04:27:13