Great to hear that, @Marcelo Witt ! Thank you for the support, I'm happy to be of any help!
- Log in to post comments
Great to hear that, @Marcelo Witt ! Thank you for the support, I'm happy to be of any help!
Thank you, @Vadim Aniskin! The support means a lot!
Thank you, @Muhammad Waseem!
PS.: it also works if you concatenate strings:
write "my string"_stringVariable_"continue string"In the first case you would be calling the "WRITE" method 3 times, once for each string divided by ",", and in the second you would be calling "WRITE" once with only one string that is a copy of the 3 strings combined together.
You could also use concatenating to set a new variable:
Set stringVariable = " | "
Set stringsCombined = "my string"_stringVariable_"continue the string"And then you can work with this new variable.
I.E. if you called WRITE stringsCombined, you would have as an output:
my string | continue the stringHi Kurro!
I like using this feature of COS:
write "my string", stringVariable, "continue the string"it works fine for the WRITE calls, but if you need the string formatting in any other cases please specify them so we can find an easy way to do it!
Thank you for the application! I hope the posts helps
Me too! I feel that some configurations such as where to store globals and routines, and mapping with other namespaces are more "user friendly" in the Management Portal, but when creating samples those things aren't really something to worry about or to spend time on.
Hi @Evgeny Shvarov!
Thank you!
I've changed the second title to Create Table!
Thank you for the feedback! I made a little confusion because I was deciding if I would use the first title as create database or create namespace and I ended up leaving both of them and deleting the "Create Table" haha
Thanks for the support!
@Michael Davidovich
Check out my recent post about this: https://community.intersystems.com/post/returning-values-python
If it doesn't answer you properly, feel free to contact me
Hi @Michael Davidovich ! Thank you for the feedback. Now, let's take a look at those questions:
1- Does embedded Python support return values?
For a short answer, yes it does. But as there are many ways to access python, there are many ways I can answer that. In fact I found it a very interesting topic to discuss and I'm working on a new article so I can cover more cases, but just to give it a taste, if you're using in IRIS a ClassMethod [ Language = python ] you can use "return ..." to finish the method and return a value, as you would after declaring a function in python.
2- Also, is there a well documented source for the iris Python package?
The documented source is Native SDK for Python Quick Reference. Now, if it is "well documented" you'll have to answer for yourself hahaha, but I'm working on getting more information and examples here. From what I've learned so far, the package has ways to connect from your python environment to IRIS, in such a way that you can access any methods you've created on IRIS, so I see it as a door to everything in IRIS.
Hi! I had already joined the community when I entered the global masters. Will my previous contributions be considered?
Thanks!
There is an easy way to do it on Notepad++
PS.: you might have to use the replace tool to replace the </Storage> part that's left, but it's pretty much the same steps.
PPS.: yes you can leave the Replace text box empty!
Here's the explanation for the expression on a similar situation: https://community.notepad-plus-plus.org/topic/21308/how-to-find-and-sel…
You will wanna follow this steps for what i think it's the easiest and securest way for that:
Also, if it helps, every picture was a printscreen of this code https://github.com/heloisatambara/InterSystems-study/blob/main/Demo.Boo…;
Hi! Which one? I can try and post it again here