Rechercher

Question
· Dec 15, 2017

$ZSTRIP removing too many characters

We are seeing something funky when using $ZSTRIP.

w $ZSTRIP("ZZZZTESTSLOCKTEST","<","ZZZZTEST")
LOCKTES
T

Shouldn't this be returning....SLOCKTEST and not LOCKTEST, the goal is to remove ZZZZTEST from the beginning of the string.

THanks

Scott Roth

The Ohio State University Wexner Medical Center

1 Comment
Discussion (1)1
Log in or sign up to continue
Question
· Dec 14, 2017

Using THROW/CATCH within Business Process Lanaguage

We are starting to look into our BPL's and catch errors that calls may return. Can someone explain how to use the THROW and CATCH within the Business Process Language or have a sample of how it should work?

Thanks

Scott Roth

The Ohio State University Wexner Medical Center

3 Comments
Discussion (3)1
Log in or sign up to continue
Question
· Nov 27, 2017

"Contains" operation for bitstring

aa=$zwc(411,1,1,3)/*$bit(1,3,5)*/
bb=$zwc(403,1,0,2)/*$bit(1,3)*/

Is there a handy function to test wether one bit string is covered by another one bitstring? For example, "bb" is covered by "aa".

I currently implement this by one AND operation and then do a bitcount, I just want to know any default function is already out there.

Thanks.

3 Comments
Discussion (3)0
Log in or sign up to continue
Question
· Nov 17, 2017

Find Global

Hi All, I need the what are all the global having subscript and value contain what I have the value.How to find out?

3 Comments
Discussion (3)0
Log in or sign up to continue
Question
· Nov 13, 2017

How can I see serverside and webpage output while developing on the Atelier 1.1 pluging platform?

"Help me, Obi Wan Kenobi"?

I’ve hit the wall. I’m a one person shop who wants to start developing Cache on a mac using Eclipse/Atelier, after using Studio for the last 5 years. I’ve installed the 1.1 beta plugin, watched 6 or 7 videos from the September conference, tried several times to work through the cheat sheets, only to have connection issues or compilation issues, so at this point, I’m feeling very frustrated. The videos were interesting, but generally didn’t work as tutorials for fundamental programming operations, for me.

I feel comfortable with Objectscript and Zen development in Studio. What I need are step by step Atelier instructions, such as have been offered in previous excellent Cache tutorials to:

1. Run compiled Cache class and routine serverside code and see its output on a Terminal equivalent.
2. Run compiled CSP/Zen code and see its output to a web browser.

Where a plugin is needed, would you recommend which plugins are closest to Studio in functionality? (Also, any recommendations for Objectscript plugins?) I would guess you want to be agnostic, but I would think suggesting plugins that work most similarly to Studio...should be okay?

I can see many good reasons for InterSystems to switch to Eclipse, but I see no reason for there to be no way to see what the completed class code should look like at the end of each cheat sheet. You could even do a quick and dirty video of someone going through the cheat sheets in a true step by step manner. I suspect it could be done in 45 minutes using mac’s QuickTime screen recording app.

Any thoughts?

Thanks.

Best,

Bob Harris

3 Comments
Discussion (3)0
Log in or sign up to continue