| View previous topic :: View next topic |
| Author |
Message |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Sat Aug 10, 2002 4:47 pm Post subject: |
|
|
| LiquidCode wrote: | Just to add to this.. After a little while (right mindpower ) VDS
will become a much more powerfull language. |
ROTFLMAO
Way to go, Chris
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
chucks0 Newbie
Joined: 08 Jun 2002 Posts: 23
|
Posted: Sat Aug 10, 2002 5:12 pm Post subject: |
|
|
After reading this thread, I had to download and try out iBasic. There were two main things it has that I would love to see incorporated into future versions of VDS.
1. The ability to access API calls without having to use an external DLL.
2. The ability to create a single EXE that that does not require the vdsrun dll.
Often times, pointing out other languages can lead to improvements in others. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Aug 10, 2002 7:16 pm Post subject: |
|
|
Personally, I think VDS is the only language as easy as it is. For example, the code to make a simple dialog in VDS would be A LOT smaller than the exact same thing in iBasic:
VDS:
| Code: | DIALOG CREATE,Dialog App,-1,0,100,100,NOMIN
DIALOG ADD,EDIT,EDIT1,45,16,70,15,Yipee!
DIALOG ADD,BUTTON,OK,75,25,50,20,OK
DIALOG SHOW
WAIT EVENT |
iBasic:
| Code: | 'demonstration of a simple dialog based app
DEF d1:DIALOG
DEF answer:INT
DEF myicon:int
'define the dialog and two controls
DIALOG d1,0,0,100,100,@CAPTION|@SYSMENU,0,"Dialog App",dialoghandler
CONTROL d1,"B,OK,25,75,50,20,@TABSTOP,1"
CONTROL d1,"E,,15,45,70,14,@TABSTOP,2"
'the dialog is displayed with the DOMODAL function
myicon = LOADIMAGE(getstartpath + "dlg.ico",2)
answer = DOMODAL(d1)
DELETEIMAGE myicon,2
end
'the message handler subroutine for the dialog
sub dialoghandler
select @CLASS
case @IDCONTROL
select @CONTROLID
case 1
closedialog d1,@IDOK
endselect
'all controls should be initialized in response to @IDINITDIALOG
case @IDINITDIALOG
CENTERWINDOW d1
setcontroltext d1,2,"Yipee!"
endselect
return |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sat Aug 10, 2002 7:36 pm Post subject: |
|
|
True FreezingFire.
For me, IBasic will be the language I step up to, I guess... I'll still use VDS though.
I can't seem to step up to C++ or Delphi or something like that.
PGWare said that VDS is only slower than other languages by like half a second..Uncompiled IBasic programs seem to blow VDS away.
Anyway, yes VDS is very easy to program with, and I definetly recommend it when it fits that person's needs.
That IBasic code can be a bit smaller though
| Code: |
DEF d1:DIALOG
DIALOG d1,0,0,100,100,@CAPTION|@SYSMENU,0,"Dialog App",dialoghandler
CONTROL d1,"B,OK,25,75,50,20,@TABSTOP,1"
CONTROL d1,"E,Yipee!,15,45,70,14,@TABSTOP,2"
'the dialog is displayed with the DOMODAL function
SHOWDIALOG d1
run = 1
WAITUNTIL run = 0
CLOSEDIALOG d1
END
sub dialoghandler
select @CLASS
case @IDCONTROL
select @CONTROLID
case 1
run = 0
endselect
case @IDINITDIALOG
CENTERWINDOW d1
endselect
return
|
_________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Sat Aug 10, 2002 11:04 pm Post subject: |
|
|
I don't think any kind of BASIC language could compare with VDS. Even though
I'm getting well on with Delphi and VDS, I never got to understand much of BASIC.
Although I don't know much about BASIC, the way it works seems to be too
unstructural/unlogical. At least I'm sure it could take quite some time for new users
to understand. Maybe new users could make something with it, but themselves
understanding exactly what they're doing is probably a different thing. |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sun Aug 11, 2002 1:15 am Post subject: |
|
|
Sorry Tommy and everyone else,
I think I started a snowball here Anyway thank you Tommy for moving this thread to the Misc section. I agree that is a better place to put it. Anyhow Basic as implemented for Visual Basic is not as Structural as Delphi but this is because Delphi uses Pascal as it's language symantics. Basic is still considered a beginners language because it is similiar to spoken languages but because of the extensions to the language it has strayed away from it's original intensions a bit just like most languages out there. I remember when I was trying to go from GWBASIC to QuickBasic which ment going from a purely procedural language to a more structural language I had a pretty hard time converting but after I got the hang of it, it was just another language to learn. Also the language itself does not determine if it is structural or not just like the language itself does not determine if it is Object oriented. This is a programmers preference and should be. There are times when using structural programming can be a bad thing but they are very few. Usually speed and size is the determining factor for this. Other than that I would say that Basic as a language is not as impresive as other languages but that is because there really has not been that big of an improvement to the language itself. Anyhow this is my 2 cents on the subject so take it with a grain of salt:) _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Aug 11, 2002 6:45 pm Post subject: |
|
|
Depends on which Basic Language. There's quite a few out there,
some more comprehensive than others.
BBC Basic
BlitzBasic
Business Basic
DarkBasic
GFA Basic
IBasic
Liberty Basic
PowerBasic
PureBasic
Rapid-Q
Real Basic
True BASIC
VisualBasic
Xbasic
And there's more out there than those. Some of them are just mere
toys, while some of them can compete with any professional
programming language.
It's like looking for a car, do you want a Chevy, Nissan, Renault or
a Ferrari?  |
|
| Back to top |
|
 |
Newspaz Newbie
Joined: 12 Apr 2001 Posts: 10
|
Posted: Thu Aug 15, 2002 8:13 pm Post subject: |
|
|
| Actually, since I'm a really lousy coder. And to lazy to learn one of those basic langauges. I rather stick to VDS. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|