include command with string variable
Posted: Wed Dec 18, 2019 3:35 pm
Hi,
Can the include command be used with a string variable?
for example
Works but
doesn't work if the file path isn't the same as the current working directory.
Thanks
Adam
Can the include command be used with a string variable?
for example
Code: Select all
include "C:\Some folder\some other folder\a_program.prg"
Works but
Code: Select all
string filepath = "C:\Some folder\some other folder\a_program.prg"
include filepath
doesn't work if the file path isn't the same as the current working directory.
Thanks
Adam