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.

DarkBASIC Professional Discussion / why won't execute file work inside a function?

Author
Message
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 13th Jun 2012 17:15
error says: Could not understand command at line 5644.
with just
function runexe(exe$,path$)
execute file(exe$,"",path$)
endfunction


The way it's meant to taste.
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 13th Jun 2012 17:24
Probably because you got the syntax wrong. Look at the example code in the Help file.
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 13th Jun 2012 17:32
OMG! going to search for glasses now.

Thanks Green Gandalf!


The way it's meant to taste.

Login to post a reply

Server time is: 2026-07-07 15:11:39
Your offset time is: 2026-07-07 15:11:39