Hello,
I'm having the same issue. Is there a way to verify or fix the issue?
Search found 13 matches
- Fri Apr 11, 2025 1:00 am
- Forum: Programming
- Topic: File IO Failed
- Replies: 6
- Views: 41190
- Fri Mar 28, 2025 10:20 am
- Forum: General Information and Tips and Tricks
- Topic: How to quickly convert equation objects to code for a program file?
- Replies: 6
- Views: 44957
Re: How to quickly convert equation objects to code for a program file?
I think a clearer explanation would be - in this workfile, there is a least squares equation named ls_1 that is specified as Dep1, Var1, Var2, etc. I'd like to get the syntax/code/specification (i.e., 'equation ls_1.ls Dep1 Var1 Var2') for a new program file without having to manually open the objec...
- Fri Mar 28, 2025 10:06 am
- Forum: General Information and Tips and Tricks
- Topic: How to quickly convert equation objects to code for a program file?
- Replies: 6
- Views: 44957
Re: How to quickly convert equation objects to code for a program file?
Yes, I would like to re-estimate them. For example, there is a least squares equation saved as an object in this workfile. I'd like to get the syntax/code that estimates this specific equation, so I can input it into a program file (instead of having just the workfile). Is there quick way to do this...
- Fri Mar 28, 2025 10:00 am
- Forum: General Information and Tips and Tricks
- Topic: How to quickly convert equation objects to code for a program file?
- Replies: 6
- Views: 44957
Re: How to quickly convert equation objects to code for a program file?
I only have a workfile that has hundreds of objects (e.g., graphs, equations, tables, etc). By "convert to code", I mean, is there a quick/automated way to turn the equations (objects) in this workfile into lines of code for a program file? For example, there are multiple least squares equ...
- Thu Mar 27, 2025 7:58 pm
- Forum: General Information and Tips and Tricks
- Topic: How to quickly convert equation objects to code for a program file?
- Replies: 6
- Views: 44957
How to quickly convert equation objects to code for a program file?
Hello, I was given a workfile with hundreds of equations as objects. Is there a quick way to automatically convert the equations into code for the program file?
I would rather not have to open each one and copy past them onto the program. Thank you.
I would rather not have to open each one and copy past them onto the program. Thank you.
- Sat Feb 08, 2025 10:31 am
- Forum: General Information and Tips and Tricks
- Topic: Relative pathways
- Replies: 7
- Views: 64095
Re: Relative pathways
Hi Gareth, thanks for this response and apologies for the late follow up.
But every time I try to run include %secondary.prg, I get an error saying the file doesn't exist because the code seems to read %secondary.prg as string and not its actual definition. Would you know a way around this?
But every time I try to run include %secondary.prg, I get an error saying the file doesn't exist because the code seems to read %secondary.prg as string and not its actual definition. Would you know a way around this?
- Thu Jan 30, 2025 9:11 pm
- Forum: General Information and Tips and Tricks
- Topic: Relative pathways
- Replies: 7
- Views: 64095
Re: Relative pathways
Yes, the primary program mainly calls on the secondary program file to run operations like importing excel files, running models, equations. For example, you will see lines like in the primary program file: subroutine inputs %main_directory = "C:\Documents\Main Directory\" %BEGQ="1990...
- Thu Jan 30, 2025 9:24 am
- Forum: General Information and Tips and Tricks
- Topic: Relative pathways
- Replies: 7
- Views: 64095
Re: Relative pathways
Thank you for this. I may need a bit more help though if it is all right. Say I have two program files (1) primary.prg and (2) secondary.prg in the folder "C:\Documents\Main Directory". How do I get (2) secondary.prg to adopt the same path specified in (1) primary.prg? For example, if (1) ...
- Tue Jan 28, 2025 11:54 pm
- Forum: General Information and Tips and Tricks
- Topic: Relative pathways
- Replies: 7
- Views: 64095
Relative pathways
Hello, I need advice on applying relative pathways in program files. I have several program files. They're structured in a way where I have one primary program file that calls on several supplementary program files (which do things like import/export excel files). All of them have the same path (or ...
- Tue Jan 28, 2025 11:48 pm
- Forum: General Information and Tips and Tricks
- Topic: How to find or check if an object is available/exists in a workfile?
- Replies: 5
- Views: 43782
Re: How to find or check if an object is available/exists in a workfile?
Thank you, this helps massively!
- Wed Jan 22, 2025 8:07 pm
- Forum: General Information and Tips and Tricks
- Topic: How to find or check if an object is available/exists in a workfile?
- Replies: 5
- Views: 43782
Re: How to find or check if an object is available/exists in a workfile?
Hi Gareth,
Just another question - how do you quickly check to see if a list of objects with the same first few letters exist in your work file? For example, is there a quick way to see if any objects that start with "Varxy..." exist in my workfile?
Thank you.
Just another question - how do you quickly check to see if a list of objects with the same first few letters exist in your work file? For example, is there a quick way to see if any objects that start with "Varxy..." exist in my workfile?
Thank you.
- Thu Jan 09, 2025 6:30 pm
- Forum: General Information and Tips and Tricks
- Topic: How to find or check if an object is available/exists in a workfile?
- Replies: 5
- Views: 43782
Re: How to find or check if an object is available/exists in a workfile?
It works, thank you!
- Wed Jan 08, 2025 11:03 pm
- Forum: General Information and Tips and Tricks
- Topic: How to find or check if an object is available/exists in a workfile?
- Replies: 5
- Views: 43782
How to find or check if an object is available/exists in a workfile?
Hello,
I have a workfile with hundreds of objectives (graphs, equations, tables, etc). Is there a command (or line of code) I can run to open a certain object instead of having to look through the workfile each time?
I have a workfile with hundreds of objectives (graphs, equations, tables, etc). Is there a command (or line of code) I can run to open a certain object instead of having to look through the workfile each time?
