Calcpad version 5.8 #33
Replies: 8 comments 4 replies
-
It's very cool that this works:
|
Beta Was this translation helpful? Give feedback.
-
@Proektsoftbg Sorry, I tried #include {C:...\filename.cpd} >_< |
Beta Was this translation helpful? Give feedback.
-
No, I can't understand, does it works with relative path or not. |
Beta Was this translation helpful? Give feedback.
-
Hi, @cser! I checked both options work fine on my side - with relative and absolute paths. I also tested nested inclusion, where the included files reference other files inside, etc. upto 4 (named "a", "b", "c" and "d"): Can you pelase share your source code or some screenshots? Are both files in the same directory? BTW I fixed the angle units issue and a few more bugs. I made a new release v5.8.1. Now, we have Check the release notes for version 5.8.1 |
Beta Was this translation helpful? Give feedback.
-
@Proektsoftbg Hellow, Ned! |
Beta Was this translation helpful? Give feedback.
-
It works after 5.8.1 installing. I don't know why |
Beta Was this translation helpful? Give feedback.
-
I tried your example and it did not work at first. Then, it suddenly worked. I played a little while and I found that it depends on how you open the file. If you open it with double-clicking the file, it is a problem. Now, I think that I finally fixed this, so that it should work in all cases. Also, made it to display the appropriate message, if the file is not found (instead of Invalid symbol '#'). There were some other issues with displaying error messages, which I fixed. I ammended version 5.8.1. You can download it again, uninstall the old version and install the new one. |
Beta Was this translation helpful? Give feedback.
-
Macros and includes were added:
Inline string variable:
#def {var name}$ = {content}
Multiline string variable:
Inline macro:
#def {macro name}$({param1}$; {param2}$; ...) = {content}
Multiline macro:
Usage:
Include external module (that will not be included):
#include {filename}
Open local section in a module:
#local
Open global section in a module:
#global
This discussion was created from the release Calcpad version 5.8.
Beta Was this translation helpful? Give feedback.
All reactions