Search found 8 matches

by Bob Paw
Nov 23, 2014 18:41
Forum: DOS
Topic: How to do multiple lines with shell?
Replies: 3
Views: 1445

Re: How to do multiple lines with shell?

First of all, no I don't, but anyway, it's Windows 7
BTW, you didn't answer my question. That's only an example. Sometimes I might need it for other things but it's not cmd help that I want, I know I could use | or &. So, what about creating files?
by Bob Paw
Nov 23, 2014 18:06
Forum: DOS
Topic: How to send output to the main program using shell?
Replies: 5
Views: 1728

Re: How to send output to the main program using shell?

What about, if it exists, sending a variable to the main program?
by Bob Paw
Nov 23, 2014 17:58
Forum: DOS
Topic: How to do multiple lines with shell?
Replies: 3
Views: 1445

How to do multiple lines with shell?

For example:

Code: Select all

shell "if exist filename (...echo It's there...) Else (...echo Not there!)"
sleep
by Bob Paw
Nov 23, 2014 17:50
Forum: General
Topic: How to run a string?
Replies: 29
Views: 5106

Re: How to run a string?

Code: Select all

dim as string code
code = "print ""Hello World"" & 7" 'what the code should do
code 'execution
by Bob Paw
Nov 23, 2014 15:45
Forum: General
Topic: How to run a string?
Replies: 29
Views: 5106

Re: How to run a string?

So, I need to run text from a file, saved as a string within my program. I've tried a separate file that saves "print "hi" & 1" as a variable, then I placed just my variable name on a new line, but it says that I need an equals sign (=). How can I make it execute the string?...
by Bob Paw
Nov 23, 2014 15:20
Forum: DOS
Topic: How to send output to the main program using shell?
Replies: 5
Views: 1728

How to send output to the main program using shell?

Say:

Code: Select all

if shell("if exist settings.txt ...) ... then
dothis
andthis
end if
by Bob Paw
Nov 23, 2014 14:45
Forum: General
Topic: How to run a string?
Replies: 29
Views: 5106

How to run a string?

So, I need to run text from a file, saved as a string within my program. I've tried a separate file that saves "print "hi" & 1" as a variable, then I placed just my variable name on a new line, but it says that I need an equals sign (=). How can I make it execute the string?
by Bob Paw
Nov 23, 2014 14:33
Forum: Game Dev
Topic: Saving to file/Uploading from file
Replies: 10
Views: 4323

Re: Saving to file/Uploading from file

Use "get"

Go to advanced search