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
Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 12th Mar 2004 23:36
is there a way to load a command as a string from a dat file?

e.g.

if a string from a dat file says "print "hello world"" get db to execute that command?
CKy
21
Years of Service
User Offline
Joined: 26th Jan 2003
Location:
Posted: 13th Mar 2004 06:54
i dont think u can use db to pickup external commands. Then again i am only new
CKy
21
Years of Service
User Offline
Joined: 26th Jan 2003
Location:
Posted: 13th Mar 2004 06:55
wait- ask someone who has designed their own IDE or Darkbasic Gui
Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 15th Mar 2004 23:02
bump, if this should die someone tell me and i'll leave it alone



zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 15th Mar 2004 23:22
No, but you can fake it. However, it is not an automatic thing. You need to read in a string from a file and send it to a parser that you have to write. That parser breaks the text down and calls the real command. This means that your script is strictly limited to the commands that you support.
--
TAZ

Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 15th Mar 2004 23:54 Edited at: 15th Mar 2004 23:55
so you would have to do thing like

if command$="print word$" then print word$

but you couldn't like take the code for a full program from a txt document and run it without DB/DBP by means of a standalone exe?



zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 16th Mar 2004 00:04
No, you can't. DBC is a little closer since it is not compiled like DBP.

Login to post a reply

Server time is: 2024-11-26 07:48:10
Your offset time is: 2024-11-26 07:48:10