forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


External Modules
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Wish List
View previous topic :: View next topic  
Author Message
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 641
Location: Evansville, IN

PostPosted: Sun Jan 12, 2003 5:23 pm    Post subject: External Modules Reply with quote

I would like to see some future version of VDS, maybe not 5, have the ability to include labels contained in external script files. Have say a include directory and use that external.

C++ example
Code:

#include <iostream.h>


That sort of a thing.

Little bit late to request this for version 5 I think Wink

NodNarb
Back to top
View user's profile Send private message AIM Address
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jan 12, 2003 7:05 pm    Post subject: Reply with quote

That was what I was thinking of a little while ago too! Only for mine there had (has) to be an DLL who handles the communication between the two scripts...

Sjoerd van der Hoorn wrote:

If I make something like a string manipulate script, people have to use SUBS to
use it like this:

%%string = Hello World
%%replace = Hello
%%replacewith = Hi
gosub Replacestring


I want a DLL that makes it easy to call this stuff:

@script(replace,Hello World,Hello,Hi)


BUT, the @script() function must keep a link with a second EXE, which does all the work.
This DLL and EXE must communicate with eichother by the REGISTRY or something:

--------------------------------------------------------------------------------

First script does this:
%%string = @script(replace,Hello World,Hello,Hi)

The DLL sends it to the EXE by registry:
registry write,ROOT,MyProgram,Parameter1,replace
registry write,ROOT,MyProgram,Parameter1,Hello World
registry write,ROOT,MyProgram,Parameter1,Hello
registry write,ROOT,MyProgram,Parameter1,Hi

The EXE is doing something with this info, and sends this back to the DLL by registry:
registry write,ROOT,MyProgram,Sendtoscript,Hi World

The DLL then sends it back to the first script with this value:
Hi World

--------------------------------------------------------------------------------

There must also be an option to send EVENTS and ERROR codes. If this is possible to make,
there can a lot be done for users who start programming in VDS, and more advanced users,
because it's easier to use then SUB-Routines...




BTW. Your idea isn't that hard... Make something like this:

Server:
Code:

run external.exe Reverse,wait
list create,1
list loadfile,1,output.txt
info Output:@cr()@text(1)
list close,1


Client:
Code:

goto %1

:Reverse
rem Place here the code
list create,1
list add,1,Output text
list savefile,1,output.txt
list close,1
exit

:Othercommand
exit
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2146
Location: A House

PostPosted: Sun Jan 12, 2003 8:02 pm    Post subject: Reply with quote

Ooooo... Yeah, wouldn't that be a neat thing to see in VDS. Wink

-Garrett
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Mon Jan 13, 2003 12:50 am    Post subject: Reply with quote

Idea Exclamation Here, here! Excellent suggestion.
Back to top
View user's profile Send private message Send e-mail
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Jan 13, 2003 1:35 am    Post subject: Reply with quote

That is an EXCELLENT suggestion ! Wink

Hope it can be in the next release of VDS... Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Mon Jan 13, 2003 5:34 am    Post subject: Reply with quote

I'm for breaking my sources up into smaller more managable units. I've
wanted something like this for a long time now myself. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Jan 13, 2003 8:51 am    Post subject: Reply with quote

Actually ya can do that now by writing a simple program
that splices the files together before compiling...

I made a front-end for VDS 2.5 that did this very thing
using its' command line compiler (there was a size limit
on what the IDE could handle). The front-end auto opened
all project files in cascaded notepads for editing. It would
splice them together for compiling, and there was an option
to view the whole file together using DOS EDIT (needed the
line numbers to find errors).

For VDS3 and later, all you'd need is a util in the tools menu
to splice the files together, then load the spliced file into the
IDE to test or compile it. And ya could use any editor ya want
(MDI etc.) for editing the single files... Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jan 13, 2003 3:46 pm    Post subject: Reply with quote

Hi All,
Skit3000 asked me awhile back to build a DLL to do this. I have accepted this as my new project. I will keep everyone posted. This may be part of Gadget soon Very Happy

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 737
Location: The Netherlands

PostPosted: Mon Jan 13, 2003 3:49 pm    Post subject: Reply with quote

The "VDS Macro Utility" was meant for this purpose:

http://www.vdsworld.com/index.php?page=search&keywords=VDS+Macro+Utility

The "VDU Convertor" was too, but it is no longer available.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2146
Location: A House

PostPosted: Mon Jan 13, 2003 8:16 pm    Post subject: Reply with quote

Yeah, but it sure would be nice to be able to just have all these modules
open in the IDE, like using a tabbed interface or something for the editor,
so you could quickly get around. Wink

-Garrett
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1537

PostPosted: Mon Jan 13, 2003 10:22 pm    Post subject: Reply with quote

ehehehe
Quote:
tabbed interface or something
Twisted Evil
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jan 13, 2003 11:22 pm    Post subject: Reply with quote

Tommy wrote:
The "VDU Convertor" was too, but it is no longer available.


The old "VDS~Shack" is still there at
http://www.geocities.com/SiliconValley/Bay/1162/

but unfortunately the link to the VDU converter doesn't work anymore. Crying or Very sad

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1711
Location: Space and Time

PostPosted: Tue Jan 14, 2003 1:22 am    Post subject: Reply with quote

You guys are so bad... Shocked Very Happy Wink

PGWARE wrote:
ehehehe
Quote:
tabbed interface or something
Twisted Evil

_________________
Chris
Http://vdsfreak.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1537

PostPosted: Tue Jan 14, 2003 3:12 am    Post subject: Reply with quote

Twisted Evil eheheheheh he said
Quote:
or something
bahaahahahah Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2146
Location: A House

PostPosted: Tue Jan 14, 2003 4:23 am    Post subject: Reply with quote

PGWARE wrote:
Twisted Evil eheheheheh he said
Quote:
or something
bahaahahahah Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil


Yeah, you know, or something. Rolling Eyes Wink Laughing Shocked Cool Twisted Evil

-Garrett
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Wish List All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group