Save logical expressions in java

how to save (condion1 & condition2) | condition3 |(Condition5 & condition6) etc in database and how to retrieve it.Please help

Please stay in your original thread. It doesn't make sense to ask the same question multiple times.
https://community.oracle.com/thread/3668952
MOD: I'm locking this duplicate.

Similar Messages

  • Logical AND in Java Regular Expressions

    I'm trying to implement logical AND using Java Regular Expressions.
    I couldn't figure out how to do it after reading Java docs and textbooks. I can do something like "abc.*def", which means that I'm looking for strings which have "abc", then anything, then "def", but it is not "pure" logical AND - I will not find "def.*abc" this way.
    Any ideas, how to do it ?
    Baken

    First off, looks like you're really talking about an "OR", not an "AND" - you want it to match abc.*def OR def.*abc right? If you tried to match abc.*def AND def.*abc nothing would ever match that, as no string can begin with both "abc" and "def", just like no numeric value can be both 2 and 5.
    Anyway, maybe regex isn't the right tool for this job. Can you not simply programmatically match it yourself using String methods? You want it to match if the string "starts with" abc and "ends with" def, or vice-versa. Just write some simple code.

  • Help! Logic Express 9 won't save projects to external Firewire Drive...

    In our studio, we use Logic express 9 as an editor. I used 5 copies on 5 different Macs without problem. I installed a new copy on a Mac Book pro 17 but when I open a project and "Save As" my firewire 800 drive doesn't list as an option to save it. The disk works perfectly, it's formated Mac OS extended, I records externally with the other studio macs. It shows on my desktop and I can play files fine, it just doesn't show as an option in the Logic Express 9 "Save As" menu on this particular mac. I've searched the forums, but can't find this exact problem. Anyone know how to make it show as an option in the "Save As" menu?

    In our studio, we use Logic express 9 as an editor. I used 5 copies on 5 different Macs without problem. I installed a new copy on a Mac Book pro 17 but when I open a project and "Save As" my firewire 800 drive doesn't list as an option to save it. The disk works perfectly, it's formated Mac OS extended, I records externally with the other studio macs. It shows on my desktop and I can play files fine, it just doesn't show as an option in the Logic Express 9 "Save As" menu on this particular mac. I've searched the forums, but can't find this exact problem. Anyone know how to make it show as an option in the "Save As" menu?

  • The best Way To Save Your Work in Logic Express

    Im confussed.. i normally do a regular save in Logic Express. But i see other options like Save Project and im wondering whats the difference and whats the best way to save.

    Hi Smith,
    no fear mate,
    Save as a project means that all the files used in the section
    will be saved to a folder (audio, midi, plug-ins, automation, presets, samples etc.)
    Reference PDF Page 53 - "Saving as Project You can use the File > Save as Project function to save a song or project. If the open song isn’t already a project, the saved song file is assigned “project” status. This allows you to set the Project settings (File > Project > Settings) which determine how imported files are handled. This also makes the project “safe”, allowing you to move or copy the project folder without losing any file references that point to items within the folder. In the Save As Project dialog you can choose, if the project files should be copied or moved into the project folder. "
    Cheers,
    Jorge

  • Dynamic logic expression

    Hi Experts, 
    Iu2019m trying to build a routine with dynamic logical expressions but it's now working...
    Basically Iu2019m building a string with the expression, a and after the string it's completed Iu2019m calling a macro that consist in a if.
    if expression eq true
    return true value
    but the value returned by the macro it's always false, even when the logical expression it's true...
    i already tried the logical function BOOLC but apparently my version, ECC 6, doesnu2019t recognize it....
    Below goes the code, if anyone could help me Iu2019ll be appreciated.
    "Macro definition
    DEFINE check_condition.
    IF &1 EQ ABAP_TRUE.
        move 'X' to &2.
      endif.
    END-OF-DEFINITION.
    LOOP AT tab_regras."Rules
        CLEAR: str_cond, lv_result.
        LOOP AT dfies_tab WHERE fieldname CS 'ARGUMENTO'.
          CLEAR: lw_string, str_1, str_2, str_3.
          ASSIGN COMPONENT dfies_tab-fieldname OF STRUCTURE tab_regras TO <fs_field>.
          CHECK <fs_field> IS NOT INITIAL.
          SPLIT <fs_field> AT '/' INTO  str_1 str_2 str_3.
          ASSIGN (str_1) TO <fs_value1>.
    "     ASSIGN (str_2) TO <fs_value2>.
    "      ASSIGN (str_3) TO <fs_value3>.
          IF str_cond IS INITIAL..
            CONCATENATE <fs_value1> str_2 str_3 INTO str_cond SEPARATED BY space.
            CONTINUE.
          ENDIF.
          CONCATENATE str_cond 'and' <fs_value1> str_2 str_3 INTO str_cond SEPARATED BY space."string condition
        ENDLOOP.
        check_condition str_cond lv_result.
        CHECK lv_result EQ 'X'.
    Thanks in advance,
    Best Regards
    João Martins

    It would be helpful if you show us what is the example content of str_cond .
    Anyhow your check looks like you want to compare some condition with value X which abap_true denotes i.e.
    if field_1 = 10 and field_2 = 20 EQ 'X'. 
    endif.
    This doesn't make sense for me or maybe I am missing something which is hidden behid this str_cond . Your left hand side expression value must however be equal to right hand side value. So the conditon will only be true if
    if 'X' = 'X'.
    endif.
    Regards
    Marcin
    PS: please note that in ABAP there is no real boolean value, so you can't have condition like in JAVA or C
    if (true_condition)
    //do something
    you always have to compare two values (here abap_true which is X if fact).
    Edited by: Marcin Pciak on May 24, 2011 3:59 PM

  • How to execute logical expression in JEP?

    Hi guys,
    I have a logical expression like,
    (5>3) AND (6>8) OR (7==7)
    Now how execute the above expression using JEP(JAVA Expression Parser)?
    can anyone help me?
    --Subbu                                                                                                                                                                                                                                                                                                                                                           

    Please go through the documentation for JEP
    http://www.singularsys.com/jep/doc/html/usage.html#gettingstarted

  • Can't open any files in Logic Express 8

    Hi out there,
    I just installed Logic Exp. 8 out of the box. Runs nice as far as i can tell, but has a major bug with me: It won't open any projects or other files.
    If i click the Projects in the Finder, they will open just fine. But I can't open them in Logic.
    Import of Files into a project works fine.
    Ideas anyone? Update anyone (wink, wink to apple)?
    Cheers,
    Fox

    You may be having the same problem I observed, and I think it may be a bug.
    After upgrading to Logic Express 8, when I save projects they appear as a folder rather than a file in the finder, with the .logic suffix. Previous versions saved projects as a .iso file. On another machine I upgraded Logic Pro to Logic Studio 8, and here projects are saved as a .logic file. My guess is the .logic file created is supposed to be a file for both Logic Pro and Express, with package contents under OS X ... but for some reason this is appearing as a folder when created by Logic Express, with the package contents visible ... so you can't double click on anything to open them.
    Has anyone else seen this? is there a workaround or is this a bug?
    In the meantime, note that you can launch the Logic Express .logic 'folders' by dragging the and dropping the entire .logic folder onto the Logic Express icon in the dock.

  • Opening GarageBand project in Logic Express 9.

    Just loaded Logic Express 9. Trying to open GarageBand project I get "Sorry, can't load this project because it is created by a newer Logic Express version. Please update Logic Express." I was under the impression that any GB project could be opened in LE9. Any suggestions?

    You don't specify but have you updated LE to v.9.1.7?
    Sometimes Logic can be a little picky as to how you open the song file, so if one method doesn't work, try another.  For example:
    1) Drag the GB file onto the LE icon.
    2) Right-click on the GB file and choose "open with Logic Express."
    3) Select the GB file from Logic's Browser tab in the Media window on the right.
    I'm assuming that you already tried File>Open from the LE menu bar.
    Once you do manage to open your GB file inside LE you will be required to save it as a Logic file.

  • Logic Express vs OSX 10.4.9

    Anybody else having problems with Logic Express since the 10.4.9 update? My M-Audio FireWire Solo interface is distorting my guitar tracks and the trouble seems to have started around the time of the update. M-Audio says there's not ETA on a 10.4.9 driver update. It works fine with GarageBand (which would indicate that the problem is with Logic) but I didn't buy Logic Express so that I would have to work in GarageBand. Until Apple or M-Audio gets on the stick and updates their software I'm screwed. I can reset the problem very briefly by selecting external clock in the driver, which doesn't have anything to do with the trouble, but resets the noise for a take, sometimes not a whole take. The only other solution I can see is back dating my OS to 10.4.8 which would require zeroing out my drive, something I'm not real anxious to do. If updates are coming soon I'll wait. Anybody else feeling my pain or even better, know when help is coming?
    iMac   Mac OS X (10.4.9)  

    Santo y Blue Demon VS Dracula y el Hombre Lobo!!!!
    Now to your post:
    Anybody else having problems with Logic Express since
    the 10.4.9 update?
    Yes...oops too late,you should read up on updates BEFORE you update.And turn off "Auto-Update" on your machine from now on.Or suffer,it's really your choice.
    My M-Audio FireWire Solo interface
    is distorting my guitar tracks and the trouble seems
    to have started around the time of the update.
    Yeah,I am sorry to hear that.Go buy another brand of audio interface.
    M-Audio=migraine.
    M-Audio says there's not ETA on a 10.4.9 driver
    update.
    Of course not.They are too busy blaming Digidesign.
    It works fine with GarageBand (which would
    indicate that the problem is with Logic) but I didn't
    buy Logic Express so that I would have to work in
    GarageBand.
    Nope...it's definitely the 10.4.9 update,plus the interface=CACA.
    Until Apple or M-Audio gets on the stick
    and updates their software I'm screwed.
    Glad it's you and not me,bro...
    I can reset
    the problem very briefly by selecting external clock
    in the driver, which doesn't have anything to do with
    the trouble, but resets the noise for a take,
    sometimes not a whole take.
    Let's see..I had three of these systems,adn replaced them with Digi gear.Now it works every day.Ergo,replace the interface.
    The only other solution I
    can see is back dating my OS to 10.4.8 which would
    require zeroing out my drive, something I'm not real
    anxious to do.
    Save yourself the trouble of doing that.M-Audio won't pay you your down-time.
    If updates are coming soon I'll wait.
    Again,rely on crappy company (M-Audio) and you see the answer "M-Audio says there's not ETA on a 10.4.9 driver update. "
    You said it...not me...you wanna wait???
    Anybody else feeling my pain or even better, know
    when help is coming?
    I feel your pain,I went through this last year.Here's the only advice I can give you:
    RUN TO GUITAR CENTER AND GET ANOTHER BRAND OF AUDIO INTERFACE!!!!!!!!!!!!!!!!!!!
    Cheers

  • How to do multi-instrument with EXS instrument in Logic Express

    Hello Logic Express Users,
    I wonder if someone can help me. I can set up multi-instruments with Battery 2, and Kontakt 2, but I am battling to set up a multi-instrument when I am using the EXS with Logic Express. How do I assign the outputs to different outputs so that I can hear different instruments through different aux channels.
    Or is it only possible with the EXS editor that comes with Logic Pro? Because if it is then it is weird why they make the EXS with Logic express a multi-instrument.
    Thanks in advance for any help.

    If you want to save an instrument patch together with plugins and so on, you should save it as a channel strip.
    Use the channel strip menu at the top of the channel object. There is a defined directory for user channel strips, but you can create folders within it and organise your channel strip settings as you like.
    These settings will show up in the channel strip menu, and the media browser too.

  • Using External Sound Modules (Synths) in Logic Express?

    Hi all,
    I don't have Logic Express yet. I want to know if what I want to do is possible before I purchase. It may sound trivial, but I'm very new to the whole DAW environment. Apparently Garageband can't support my external sound modules so I'm hoping Logic Express will.
    To help, please see my hardware midi setup diagram here:
    http://www.greddin.com/images/My-Midi-Setup.jpg
    Will I be able to add tracks that will play the external sound devices like the Wavestation and JD-990? Can you change the sounds through Logic? To what extent can I use my external sound modules?
    Thanks all,
    -Greg

    Hi,
    1st: Yes, Logic Express has "external MIDI" tracks that function similar to the "software instrument" tracks but trigger external instruments.
    2nd: But: To setup these tracks, especially with more than one device, needs some experience with MIDI, the channels, patch selection via MIDI etc. The real downside is you have to find out which commands you need to "tell" your devices to change sounds and these things. Since there is no standard command for this, you'll have to look it up in your devices manual and use the MSB/LSB Values- which you have to enter manually. However, once you found it out, you can save these things as templates and use them in the future. So yes, it is very possible, but expect some learning curve.
    3rd: You can use your sound modules to their full extent. Logic features a mighty MIDI environment setup once you learned how to use it.
    Fox

  • Tell me where to go-I have bought logic express 8 - Recording live music.

    I have Macbook 2
    Presonus Firepod 8 in
    PA gear
    500 gig Firewire drive
    We play live and I just want to hit record and play.
    I stop at breaks and save the files.
    All of this works great!
    Now any advice for someone who has five hours of music recorded with the default settings for each channel. For example why does it say midi files instead of audio files?
    Hey I am serious, I am looking up at a real steep learning curve.
    I have mixed some material down (bounced) to Itunes, it sounds great, but I am driving a fast car with no experience. So any advice, ABC's of live recording, any tips?
    I am just a guitar player in his fifties who has been given the tools, but could sure use some common sense.
    Message was edited by: Bob xyz
    Message was edited by: Bob xyz

    Hi, and welcome!
    Please note this is the Logic Pro forum - you should post your queries in the Logic Express forum.
    So... No one here is going to type out the Getting Started manual for you - crack it open with a cup of coffee, or if you really can't be arsed to read a manual, then I'd suggest getting some tutorial videos from MacProVideo.com - about the fastest way of getting you up to speed with Logic.

  • Which computer for logic express 8

    Hi. I'm looking to buy an apple computer and logic express 8. I want a laptop that is powerful enough to run a decent software for writing and recording tunes that is intuitive and user friendly.
    I heard that it is better to get a seperate hard drive to run the music software. Is this true?
    I wondered if I could get away with just buying mac book, bu t, am thinking about a mac book pro..refurbished to save money.
    THis laptop would also serve to play with photos, movies, etc.
    I appreciate any feedback.
    Also, I have ableton live, but, I wanted to get logic because Apple has great support and education now.
    thanks!

    Any computer that apple makes today CAN run Logic. The performance will depend on how much you want to do with it. I haven't pushed my system enough yet, but from what I've seen on the forums, the point where resources start becoming a problem for the macbooks/imacs/minis is around 20 tracks with heavy use of plug ins.
    Of course, actual performace is debateable, but based purely on specs, I see three or four main differences between the new MacBooks and the MacBook Pros that you can get refurbished today:
    1. The Pro has a bigger screen. Working on a MacBook myself, I can tell you that the smaller screen gets frustrating sometimes. I'm thinking of getting a separate monitor for when I'm working at home.
    2. The Pro has a better graphics processor. This will improve performance some, but the difference would be more noticeable in more graphics intensive application like games rather than music production.
    3. The Pro has more RAM out of the box. That said, RAM is cheap if you don't get it from Apple. It's also a pretty easy upgrade to do yourself. Instructions can be found in the Support section and are pretty good. I upgraded my mid-tier MacBook to 2GB for under $50. You can upgrade the new MacBooks to 4GB for under $100. The cheapest of the refurb Pros comes with 2GB RAM, but it's unclear whether you can upgrade to 4GB.
    4. The Pro has 2 firewire ports, one of which is FW800.
    Of these 4 main differences, the only one I see as a deal breaker is the screen size. When I was buying last summer, I, personally, couldn't justify the extra expense of the Pro.
    Regarding a separate hard drive, this is a debateable topic and just like any performance issue depends on how hard you're pushing the system. I have two pieces of advice here:
    1. Start by using the internal hard drive. If you run into resource problems an external drive may help the situation.
    2. If you do go the external route, get a Firewire drive. While USB 2.0's signal speed is faster than Firewire (480 Mb/sec vs. 400Mb/sec), it's fairly well documented that Firewire is faster in most real life applications (see http://en.wikipedia.org/wiki/Firewire#ComparisontoUSB) and frees up the CPU for more plug ins and/or tracks.
    Finally, while Apple is generally known for good support, many of the users on the Logic Pro forum would strongly disagree with that statement when it comes to Logic. Logic 8 was released with some fairly major bugs and there has only been one software update since its relase in September, whereas programs like iTunes seem to get weekly updates. Granted, most of the complaints come from professional studio engineers use Logic 6,8,10 hours a day who push it to its limits on a regular basis. Users like this are more likely to uncover problems than more casual users like me (and I assume you). Don't get me wrong, I'm personally very happy with Logic. I just don't want you to expect the same level of support and education Apple provides for iLife.
    Hope this helps.
    Message was edited by: jmymlr

  • Save logic .aiff as quicktime file

    Hey,
    I posted this question in the iweb board and got some interesting ideas but was curious if anyone here had any other thoughts.
    I'm adding short .aiff's to an iweb site for people to right click and save.
    -I'm making the .aiff using logic express.
    -Bouncing to desktop.
    -under "get info" I'm changing the .aiff to "open using quicktime player" which makes the file look like a quicktime file with the big "Q" on it. When I double click on the file, it opens with quicktime player. All's good!
    -I create a text box in iweb and link the .aiff (actually they are .aifc) file to text box, just regular stuff for creating links for files.
    -After I publish site to folder. When I go in and right click on the link to save to desktop, the file I thought used quicktime player becomes an itunes associated .aiff file with the itunes colors (green) and opens using itunes, thus adding the file to my itunes library.
    I'd like people to be able to click on the .aiff and quicktime player would automatically open and play the file, this way unwanted stuff won't be added to people's itunes library. Maybe I'm making a mountain out of a mole hill, but it would be nice to stay out of peoples itunes libraries, it's kind of annoying when stuff is added to mine that I don't want. Know what I mean (in a cheesy Elvis voice)?
    Any thoughts on how to keep the file a quicktime associated file after download?
    Thanks, byt
    ps, I've been looking up the difference between .aiff and .aifc. It looks as though they are about the same except you can compress .aifc. Does it really matter which is which if you're not compressing or anything and just clicking and playing?

    iWeb only uses QuickTime formats (or those it can play) in your html files. It (version 1.1) uses special javascript files to hold the source code and for non "standard" QT formats it use the special qtsrc tag to "force" the browser plug-in to play the file.
    Setting the Get Info properties on your computer doesn't change the file format for other users or viewers of your file.
    Since the QuickTime browser plug-in will be opening the file only QT Pro users will be able to "save" it.
    If you are "linking to a file" instead of using the browser plug-in the viewer will either get a download or the file will open in a new browser window. If the QT browser preferences are set to open .aiff (or aifc) your file will open in new window. You make these settings via the QuickTime sys prefs/Advanced and clicking on the MIME Settings button. You'll see .aiff under Audio.
    If you want to "force" a download you should use the Finder to create an Archive. Your file will now become something.aifc.zip and users will download it when the click the link.
    It will still open in iTunes for those users that have .aiff set to open in that app.
    Better would be to convert it to .mov format which is always associated with the QuickTime Player. You would still want to archive it before adding it to iWeb so that it downloads instead of playing in the browser window.

  • Copying Grageband setting to Logic Express 7?

    I've been working with Garageband since it came out, and what I usually do is begin a project in GB and then open it in Logic Express 7 to to be able to do more. Even though I don't like GB's limitations compared to LE 7, some of the pre-made settings are fun and easy to use.
    Does anyone know of a script or a way of copying ALL of GB's settings to LE 7?
    For example, the EQ - if I want to use GB's "Improve Guitars" in LE 7, I have to import a GB project with a track that has that setting into LE 7, then go to the EQ plug-in and save that setting. I have resorted to doing that for each project I work on, but it would be convenient to have them all copied over with a script, especially with all the Jam-packs.
    Maybe you guys at Apple can pass that on? ( ....oh and while your at it, please add the ducker as plug-ins to LE 7.....I hate re-routing the sends on the projects I import;)
    Any help would be appreciated.
    Powerbook G4, 1.5Ghz, 1.5Gigs RAM, M-Audio Firewire   Mac OS X (10.4.6)   LE 7.1, GB 3.02, All Jam Packs

    As far as I have found so far, all of the presets in GB are still there in LE for me, including those I made myself.

Maybe you are looking for