FIRST HP: HP first Cas.Mode in the functions of the program

Hello community, I learn HP first language programming but I am not really associated with this, I would like to know the basic structure using the matrix and CASE work (both in programming mode). I have "he's really appreciate some examples with programs using both of the present. If I am not clear.

Hello

It is a field/area whide here!

First, you must know that they are 2 in HP's premium programming languages. They are relatively similar, but not exactly, which can be at the same time a plus (1 thing to learn) and a sign less (subtle differences are not very visible, and can cause problems)...

In any case, to create a new program of CASE, go to the program catalog (program shift) and click New, enter the name of the program and check the CASE.

This will create a basic program, empty along the lines of:

#cas

TEST(): =.

BEGIN

return 0;

END;

#end

TEST is the name of the function (you can have as many as you want in your case program)

you will find the arguments in parentheses. In this case, no, but add that you ever want or need as in:

TEST (param1, param2, param3)

between the BEGINNING and the END, you will find at the heart of your program. There you can assign values to the variables (by using the nom_de_variable: = expression_that_returns_a_value;)  syntax. For details: a: = 1 + 2

You will find many (but not all), orders of matrix in the Toolbox key / menu math/matrix.

You can access (read and write) an element of a matrix by var [row, col]

The menu item template (in the main window of the program of the editor) should show you what the Basic programming constructs are similar (tests and looks).

This should help you get started. Once you have experienced this, you should be able to come back on this forum and ask more specific questions.

Kind regards

Cyrille

Tags: HP Tablets

Similar Questions

  • I need to disable a copy of Dreamweaver CS5 so that I can activate it on another computer. The first computer crashed, so the program is more about it. How do I disable?

    I need to disable a copy of Dreamweaver CS5 so that I can activate it on another computer. The first computer crashed, so the program is more about it. How do I disable?

    I was finally able to get on a chat session with an Adobe employee and the problem has been resolved. She told me to "Skip This Step" then screen here and it worked (when I had tried that before, it did not work, but that was before the deactivation was made for the computer on which crashed). I hope that this will not cause any kind of problem ID and password in the future, but for now, the program is back up and functioning normally.

  • Error: Dragon Naturally Speaking seems to work in Compatibility Mode Windows, which can lead to errors. We recommend to disable the compatibility mode for the program natspeak

    Original title: Dragon Naturally Speaking will not charge. He was working. I have time. The only thing different is my 10 3 demo of windows expiredeinstalled

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • Dragon Naturally Speaking does not load. He was working. I have time. The only thing different is my demo windows 10 expiredeinstalled 3 programs you have problems with
    • Error messages Dragon Naturally Speaking seems to work in Compatibility Mode Windows, which can lead to errors. We recommend to disable the compatibility mode for the program natspeak
    • Recent changes to your computer
    • What you have already tried to solve the problem I find no windows compatibility mode. I do not know how

    Hi jrskona,

    1. don't you make changes before the show?

    Try the following steps to disable the compatibility mode.
    a. Locate the launch of Dragon NaturallySpeaking file, right-click on it and click Properties.
    b. click on the Compatibility tab.
    c. in compatibility mode, uncheck the box "run this program in compatibility mode for".
    d. click ok to apply the changes.
    e. check if the problem persists.

    If the problem persists, then contact the program vendor support team:see Dragon NaturallySpeaking support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What is the throughput of each program in run mode in the program generator?

    Hello

    What is the throughput of each program in run mode in the program generator?

    Thank you

    Hello

    The flow depends on the executed program of fashion and the number of contacts in your database. As your contact base grows, your flow adjusts automatically.

    Thank you

    edynamic expert Eloqua

  • Major problem with first Pro CC (2015) the program randomly * gel * when you drag staple in the timeline.

    Hey there, having a very big problem important I need fixing with my first. I use the latest version of the creative cloud.

    My PC Specs are:

    Intel Core i7-4790 CPU @ 3.60 GHz

    16 GB of ram

    Running Windows 7 64 bit OS

    My question is which occur randomly during editing sessions. Everything will work perfectly, and then import a new video in the project bin (or image sequence or audio, what has happened several times)

    And I click on the video and drag it to the bottom in the timeline, the mouse pretty much freezes and wont let go of the clip. First is then suspended in a weird state of 'limbo '. I can still save the project and even export using shortcuts. But I can't click on anything whatsoever, or use any other action. The mouse is constantly in 'grabbing' mode. After the whole project is corrupted. I can solve the problem by opening a new project with a new sequence, then copy the clips... But it of very frustrating and massively takes time so please if anyone has a solution please let me know. Or whether it is actually just a big bug when creating last... This only started happening after the last update.

    I will attach some screenshots to continue my view of what is happening.

    Snap3.png

    Excuse Hypersnap logos, this is the only software screenshot that I could find which will appear at the mouse.

    Thanks for your help.

    Rich

    Hey Kevin,

    It seems fixed summer.

    Thank you

    Rich

  • How can I turn off Compatibility Mode in the program compatibility Assistant? (Recommended to install Kodak EasyShare software)

    EasyShare Digital Camera (model C813) bought in 2008; Earlier software installation on laptop.  At some point of the plant to a standstill and recommended to disable Compatibility Mode because (I think because the software was older...?).  I couldn't find where to turn it off.  I'm not very tech - know.

    Thank you.

    I think the message compatibility mode refers to means of IE, not Windows.  Later versions of Internet Explorer have a compat mode that allows IE to run like an earlier version.  The goal is to access websites that have not been updated for more recent versions of Internet Explorer.  Click the link Internet explore in the banner at the top of this forum page and use the forum for your current version of Internet Explorer.

  • First HP: help using the command CAS.solve (STRING1, STRING2) within a program

    Hello and hope you can help me with my problem!

    I write a somewhat complicated program (operating mode no case) who has a subroutine called STSOLVE where his entry is always a string from the main program that contains a formula as "'I' = 'V' / 'R', 'R'" and its goal is to replace all the variables contained in "" to the compatible standard CASE generated automatically variable (teiXX where XX is a unique number) and then use the command solve to assess this formula (say final temporary formula "tei1 = tei2 / ') tei3, tei3"). Before returning, he replaces the temporary variables, generated automatically with the original on the result, so the original formula will be sent back solved in the main program.

    My problem:

    It returns the result {UNDEF} or simply {} even in expressions that absolutely work if used with the command solve manually, in the main screen of calculators CASES when the CAS.solve command is used either! Even though I know that the entry of this order is correct according to the tutorials I've read in the forums, I can't work properly.

    I tried all methods of writing the order and I only managed to get a result when I wrote this:

    RPART1: = cas.expr (RPART1);

    RESLT: = case. Solve (RPART1, "tei2");

    .. .or RPART1 contains, say, the part 'tei1 = tei2/tei3' (NOT AS A STRING!) and "tei2" SHOULD be written as shown here, a chain, entered manually just for test (can be 'tei1' or 'tei3' too for this particular case). However, if I put "tei2" in RPART2 of local variable in the subroutine as a string and then pass this variable to the solve command, say:

    RPART1: = cas.expr (RPART1);

    RESLT: = case. Solve (RPART1, RPART2);  RPART2 contains the string "tei2", "tei1" or "tei3.

    Here again, I get a {} as a result!

    I tried so already a lot of things that I don't know exactly what mention here, but I hope I described the main situation enough to start detailed and of course, I'll give you any other information you might need to give me more help. I tried to paste the entire subroutine, or even the entire program, but I don't have any windows pc to connect the first HP and copy the program. I am writing from an Android Tablet and I should maybe type the everything here is not very easy, I will of course if you ask.

    Perhaps, I should also note that the generated vars tei1, tei2 etc. do not exist as variables in the calculator, but if I copy channels same as the program tries to run in the command CAS.solve and manually write in case screen (not a string of course) then they get solved without problems.

    Hope to get help and learn from you and I wish I could found more help about it online, but it seems very difficult and also all the tutorials I found on the cas.solve command in the programs did not work in my case!

    Andreas

    It works, or is this not the problem?

    CAS.solve ("tei1 = tei2/tei3", "tei2");

    I get output: {tei1 * tei3} which is correct.

  • How can I add a program in windows XP mode in the start menu of windows 7?

    I recently installed a program in Windows XP on Windows 7 mode.  The program works well in the virtual machine, but the program do not arise in the "Start" menu in Windows 7.  How to manually add the program?

    I can I answered my own question.  It runs from a network drive and is therefore blocked.  Not cool.

  • When XP is "windows xp for first use mode setting" it loads to 99% and then I get the message "unable to complete Setup.

    I upgraded my 64 new image computer windows 7 Home premium Edition to windows 7 using the upgrade anytime professionoal.  I downloaded the fix for quad core to use virtual pc and windows xp mode.  When XP is "windows xp for first use mode setting" it loads to 99% and then I get the message "unable to complete Setup.  I service request # 1182160056 but the phone lines of microsoft do not work.  Any suggestions?

    Have its possible that this is a download corrupted Windows XP mode, you tried to download it again and see if it works? Also, make sure that you first install Windows Virtual PC.

    Click Start, type: enable or disable windows features

    Press enter on your keyboard

    Scroll down and make sure that Windows Virtual PC is checked.

    Click OK

    Restart if prompted.

    http://www.notebooks.com/2009/11/23/using-Windows-Virtual-PC-with-Windows-XP-mode/

  • How can I activate Technicon in adobe elements first 13? I can see it running in the Manager of tasks as elementsautoanalyzer13.exe but didn't interrupt the process in the case where he assigned to the program.  There must be a way inside the adobe progra

    How can I activate Technicon in adobe elements first 13? I can see it running in the Manager of tasks as elementsautoanalyzer13.exe but didn't interrupt the process in the case where he assigned to the program.  There must be a way inside the adobe program to turn off because I turned it on by clicking with the right button on an image in the editor of the first, and then when you are prompted, he said he would run in the background and I said okay, now I can't stop it! .  It appears in earlier versions of first items under Edit-> Preferences-> media analysis you could uncheck it to turn it off.  But there is only a media section and in this tab, there is no automatic Analyzer to be seen.  Thanks in advance for any advice

    Rebeccah

    What computer operating system? You are in the first elements 13/13.1 editor preferences or in organizing elements 13/13.1 preferences?

    Where are you looking for in organizing elements 13/13.1 that you do not see Edit Menu/preferences /-media analysis that you do not see the options of AutoAnalzyer.

    Organizing elements 13/13.1 preferences...

    Please point out where you find a command to run AutoAnalzyer in the background in 13/13.1. If I right click a file, I see AutoAnalzyer perform what seems to be a time run command automatic Analyzer of a file.

    Please specify.

    Thank you.

    RTA

  • I can't match additive mixing of AE mode using the first blending modes. Any ideas?

    I had trouble matching mix additive mode of AE by using first blending modes.  It is not listed under the modes within the opacity so I wonder if it's somewhere else.  I could easily take in AE, but the fact that I probably forget something so easy to do is killing me.

    You should ask in the forums for the program (s)

    This forum is about the cloud as a process of delivery, only not on the use of individual programs

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it says all communities) to open the drop-down list and scroll

  • How can I get the video media. MOD in the first El 9?

    Are the videos of my Canon 7 d camera and my camcorder Canon ADCHD (two SD cards). Files MOD I opened the first Elements 9 and click on GET the MEDIA and it does not recognize the files. It says that it cannot open the videos because:

    "your system has no codec of compression/decompression required installed."

    When I bought this software, a service representative assured me that she would take. MOD files. Why these codecs are not installed with the program? How can I get these videos with first Elements 9?

    Also have assured that you have the latest version of Quicktime, as required by the program?

    And, when you started your project, you selected the project settings for a digital SLR for your video card? You need to do this so that the program turn on the necessary components to work with this video.

  • My system hangs during startup "for the first time" after running the system recovery.

    HP G62 - 227 CL

    Win 7 (64 bit)

    No error message, in itself; just a screen frozen on reboot.

    Months, my computer has suddenly started glitching on me.  I stopped and tried a reboot.  The system froze on start with flying colors.  System recovery tried several times but must have made a mistake because he wouldn't.  Resolved to buy a new hard drive and reinstall from the recovery disks.  Delayed unnecessarily until today, months later.

    Before you buy a new hard drive, has decided to relaunch the system recovery.  It worked!  I tried the option that has deleted everything and restored to the software and factory settings.  Everything seemed to work like a charm: hard drive reformatted, reinstalled software, the system prompted me to reboot.  Yes, I did.  Windows started to boot, "Preparting your computer for first use of Setup" appears... and freezes.  For hours.  Hard drive led is off.

    BTW, made sure the button Wi - Fi was on what I read on the problems of recovery if it was turned off when the program is run.

    Restarted.  Press F11.  A ran maintenance and checked the hard disk for errors.  There are errors.  Unfortunately, the default setting of CHKDSK does not repair them.   A opted for a command line.  RAND CHKDSK again with option '/ f/r' seen in other posts.  Here I am too ignorant to get the program to run properly, I guess.  I ran CHKDSK on the two player X and C.  No error found... sort of.  I know they exist because the system will not start.  (Yes, I tried again.)  Return to the command prompt, I tried to run CHKDSK on the drive C again.  This time I got a message that I must first dismount (remove?) the reader.  As I don't know what that means, I opted for the 'no' and have decided to post this help message.

    So.  Suggestions on what do I do then?  More specifically: How do CHKDSK to fix the errors it found?  I think the message was: "errors in $130 of the sector...". "It shows this message two times at the end of 62%.  Freezes for a long time.  Gets will still only slow down to a crawl again around 70%, but no longer.  Then returns to the start of system recovery screen.

    System recovery ran again for the pleasure.  Again, seemed to work like a charm.  Unfortunately, the laptop again sits frozen at "Preparing... for first use" screen again.  It heats more turns.  The audible fan works now plans higher... If none of this helps.  I am stopping and waiting for your advice.

    Thank you!

    Zac:

    My apologies for the delay to return to you.  Believe you that computer gremlins have not hit my very stable desktop which has been fine for years with sudden instability driver?  McAfee thanks for this most recent update!

    In any case, after several diagnoses and find the hard drive has failed in each of them, I decided to install a new copy of Windows 7 as a test while I wait for my upcoming recovery disks in the mail.  I did it by removing all partitions on the drive and do a fresh install.  Here again, everything seemed to go well until that (apparently) a certain area of the drive was used to save/installation of the files.  Even after CHKDSK runs several times (each time he repaired several defective sectors but stalled after only 10% of the disk) the system will become unstable - the last number being a blank screen after logging on to Windows.  So, all in all, epic fail on the side of the hard drive.  The new drive is installed and waiting for my recovery disks.

    Thanks for all your suggestions.  They have been a great help with information, but not with the results because of the training.

    M

  • If I work for an hour or more first the cursor starts to behave correctly and then the program gets stucked

    my pc is stuck. I doubt that the fan provided within the system does not work. The problem is if I work for an hour or more first the cursor starts to behave correctly and then the program gets stucked and the pc needs a forced closure. And where the driver is placed at the bottom is very hot.

    Original title: Stucks

    Hello

    In addition to becoming the fan if it does not, if it is a desktop computer, clean the inside with a can of compressed air.

    If it's a laptop, check the vents for hair, dust, etc. and do not use a laptop when it is based on material surfaces: bedspreads, blankets, etc.

    If the problem persists, if this is a laptop (as you say only pc, no office or laptop), take it to a local computer and reliable repair shop and get them to open and clean the dust inside...

    Here is an interesting discussion about the reasons of your problem (IF your laptop):

    http://PC-trickandsolution.blogspot.com.au/2011/07/fix-laptop-overheating-shutdown-problem.html

    NB: > however 9 out of 10 cases of overheating are caused by obstruction of the air flow.

    See you soon.

  • How to use String Manipulation Cloud Connector to shoot the first five characters of the field? (Expression syntax experience)

    The question

    I need to segment data on a large number of Postal Codes, usually about 400 to 600 at the same time. It is that our postcode field includes the last four digits in some cases, for example 92101-1957. When you use the Contact filter 'Value In A' I'm not able to do this 92101 *, 92102 * and of course I can't account for any combination of four numbers that might appear.

    The Solution - in theory

    The solution I came up with that is to create a new field of Contact in Eloqua 'Segmentation Zip Code' copy of the 5 digits of the postal Code field and execute segmentation using this new field.

    The Solution - Cloud Connector

    String Manipulation cloud connector must be able to perform this action - copy on the first 5 digits of the zip in the zip segment field field.

    When I'm stuck - via cloud connector

    I can't figure out how to write the syntax for expressions to search and replace. I have read the instructions of syntax and am still unable to establish exactly what I enter in the "regex to find: ' and the ' Regular Expressions to replace:

    Does anyone have expierence with an Expression syntax that might help train these expressions?

    Any ideas on other ways to address the problem would be too great.

    Thank you

    Louis

    Hi Louis,.

    Okay, I think I might know how to do it now but don't have access to Eloqua for the moment, so I'm kind of make this Store, but try below.

    Use the regex below in the "Regex for find" and let the "Regex to replace white": "."

    -(.*)$

    This will be after the hyphen and the replacement string will be empty, so I hope you should be left with just the first five digits that you can map to a new field.

    Let me know how you get on, I might be able to test myself so tomorrow so I'll see if I can make it work.

    Chris

Maybe you are looking for