Simple syntax question

Hey everybody,

I'm doing a match/replace with a template that contains special characters and run in syntax errors in a Flex 3 application. I want just the following regex to compile... (also replacing the html tags with "")

value.replace(/</?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)/?>/g, "");

On a side note, the pattern /<.*?>/g wouldn't work in cases where there are html entities between tags, 
like so:

<TEXTFORMAT LEADING="2">
<P ALIGN="LEFT">
<FONT FACE="Arial" SIZE="11" COLOR="#4F4A4A" LETTERSPACING="0" KERNING="0"><one</FONT>
</P>
</TEXTFORMAT><TEXTFORMAT LEADING="2">
<P ALIGN="LEFT">
<FONT FACE="Arial" SIZE="11" COLOR="#4F4A4A" LETTERSPACING="0" KERNING="0">two</FONT>
</P>
</TEXTFORMAT>

The first regex would get both "<one" and "two", but the second would only get "hi"

Thank you!

L stabby

This one works for me:

value. Replace(/<\ \w+((\s+\w+(\s*="\s*(?:" .*?"|'.*?'|[^'""="">\s]+))?) +\s*|\s*)\/?>/g, "");

(Same as yours, but hot escaping the /)

Are < and=""> special characters can only be between tags? [in this case, even if /<.*?>/g wouldn't work, able to /<><>] *? > / g be enough?

Tags: Flex

Similar Questions

  • Simple task - syntax Question (how do you pass variables from one component to another component - databinding)?

    Hi all

    I'm moving some width/height/URL of a Video Player component to a Social Bookmarking component incorporate text entry field. (for people capture and share videos).

    I know that it's a simple task, but it's the end of the day and I seem to have a brain failure... What is the syntax to achieve this? Do I have to import the video player component? These widths/heights/URLs are all generated dynamically by a XML... should I be pulling the XML or reuse just variables already existing in the Video Player component?

    Here is my code...

    Video player:

    [Bindable]

    var public source: String = "";

    [Bindable]

    public var autoPlay:Boolean = false;

    [Bindable]

    public var fullScreenMode:Boolean = false;

    [Bindable]

    public var clipTag:String = '_movie;

    [Bindable]

    public var iag_code:String = "";

    [Bindable]

    public var officialURL:String = "http://www.movies.com/"; ""

    [Bindable]

    public var referer:String = 'unknown ';

    [Bindable]

    public var gID: String;

    [Bindable]

    public var starterImageURL:String = 'http://www.movies.com/jazzmaster/images/default_starter_image.

    [Bindable]

    public var oldWidth:Number;

    [Bindable]

    public var oldHeight:Number;

    Component sharing:

    < mx:HBox

    Height = "10%".

    horizontalCenter = "-25".

    Red = '0 '.

    paddingBottom = "5" >

    < mx:Text text = "" Embed Code: "paddingTop ="1"color ="#FFFFFF"fontSize ="12"/ >"

    < mx:TextInput text = "{oldWidth}" / >

    < / mx:HBox >

    The above code generates an error... "Any attempt of property inaccessible oldWidth via a reference with a static type com:SharingBookmarks."

    Thank you all!

    DK

    Try this...

    Create a flex project and add a folder called 'src '.

    create a new component MXML named "VideoComp.mxml" and copy/paste

    http://www.Adobe.com/2006/mxml"width ="400"height ="300">

    [Bindable]

    public var videoWidth:int = 300;

    [Bindable]

    public var videoHeight:int = 300;

    ]]>

    create a new component MXML named "SharingComp.mxml" add copy/paste this...

    http://www.Adobe.com/2006/mxml"width ="400"height ="300">

    [Bindable]

    public var videoWidth:int;

    [Bindable]

    public var videoHeight:int;

    ]]>

    and here's the main.mxml file

    http://www.Adobe.com/2006/mxml '.

    xmlns:src = "src.*" >

    private void doSomething (): void

    {

    sharingComp.videoHeight = videoComp.videoHeight;

    sharingComp.videoWidth = videoComp.videoWidth;

    }

    ]]>

    Hope this helps,

    BaBo,

  • If exposed simple of questions?

    Alright fellow programmers.  Once more what I meet a problem I have EVER had with other JAVA programs before.  IAM trying to figure out how to write a simple if statement and I have questions.  I did Google search and have found something to help.  So, if you could please tell me what may be the issue?  The error message is "error {invalid AssignmentOperator. syntax".   Thanks in advance!

    Double BinRadius = (Integer.parseInt (txtRadiusFeet.getText ()) * 12) + Integer.parseInt (txtRadiusInches.getText ());

    FieldChangeListener CalcListener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    Double BinRadius = (Integer.parseInt (txtRadiusFeet.getText ()) * 12) + Integer.parseInt (txtRadiusInches.getText ());

    {If(BinRadius==0)}
    Dialog.Alert ("Hello");
    }
    };

    Capital I yew?

  • (Newbie question) Interval syntax question / explanation of the error

    Ok. So I reach into a big ticketing system based on Oracle (64 bit 11g 11.2.0.1.0) where they store 'ticket-open-time', 'ticket-fixed-time' and the interval of 'time-to-repair. Initially I wanted to calculate the number of minutes of the time of repair. 6 hours and countless Google searches later, I'm not about to the appropriate syntax. I was able to work around the problem through a simple calculation based on the values open and resolved. What I can't understand, is why I can't apply the same syntax extract just the interval field.

    Here's a simplified query that works:

    SELECT
    To_char (OpenTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "OT".
    , TO_CHAR (ResolvedTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "RT".
    , TO_CHAR (TimeToRepairGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "TTR".
    excerpt (days of day (ResolvedTimeGMT - OpenTimeGMT) the second) "days".
    excerpt (time of day (ResolvedTimeGMT - OpenTimeGMT) the second) "hours."
    excerpt ((ResolvedTimeGMT - OpenTimeGMT) minute second day) "Minutes."
    , (extract (day of (ResolvedTimeGMT - OpenTimeGMT) day to second)) * 24 * 60 +.
    (extract (hour of the day (ResolvedTimeGMT - OpenTimeGMT) the second)) * 60 +.
    extract (minute since (ResolvedTimeGMT - OpenTimeGMT) second day) "TotalMinutes".
    FROM there where

    Which produces:
    [OT] 24/09/2012 20:06:29
    [RT] 26/09/2012 13:56:13
    [TTR] 4000/02/01 17:49:44 - Note the year.
    [Days] 1
    [Hours] 17
    [Minutes] 49
    [TotalMinutes] 2509

    The question:
    When I write [extract (minute of day (ResolvedTimeGMT - OpenTimeGMT) the second) "Minutes"], I get 49 minutes I expect

    When I write [extract (minute since (TimeToRepairGMT) second day) "Minutes"], I get an error "syntax error was found in the interval value expression.

    The three fields are declared as 'date' DESC command (even if TimeToRepairGMT is clearly an interval, based on the value of "4000/02/01 17:49:44" ""). While I can plough with my work-around, I really want to know how to deal with intervals that are stored in Oracle tables as dates. Any help is appreciated!

    Hello

    Welcome to the forum!

    966091 wrote:
    Ok. If I am living in a large (64 bit 11g 11.2.0.1.0) Oracle-based ticketing system

    Thanks, that's very useful. Always give your version (11.2.0.1.0) whenever you post a question.

    where they store 'ticket-open-time' and "ticket-fixed-time" interval "time-to-repair. Initially I wanted to calculate the number of minutes of the time of repair. 6 hours and countless Google searches later, I'm not about to the appropriate syntax. I was able to work around the problem through a simple calculation based on the values open and resolved. What I can't understand, is why I can't apply the same syntax extract just the interval field.

    Here's a simplified query that works:

    SELECT
    To_char (OpenTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "OT".
    , TO_CHAR (ResolvedTimeGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "RT".
    , TO_CHAR (TimeToRepairGMT, ' ' the HH24: MI: SS DD/MM/YYYY) "TTR".
    excerpt (days of day (ResolvedTimeGMT - OpenTimeGMT) the second) "days".
    excerpt (time of day (ResolvedTimeGMT - OpenTimeGMT) the second) "hours."
    excerpt ((ResolvedTimeGMT - OpenTimeGMT) minute second day) "Minutes."
    , (extract (day of (ResolvedTimeGMT - OpenTimeGMT) day to second)) * 24 * 60 +.
    (extract (hour of the day (ResolvedTimeGMT - OpenTimeGMT) the second)) * 60 +.
    extract (minute since (ResolvedTimeGMT - OpenTimeGMT) second day) "TotalMinutes".
    FROM there where

    Which produces:
    [OT] 24/09/2012 20:06:29
    [RT] 26/09/2012 13:56:13
    [TTR] 4000/02/01 17:49:44 - Note the year.
    [Days] 1
    [Hours] 17
    [Minutes] 49
    [TotalMinutes] 2509

    The question:
    When I write [extract (minute of day (ResolvedTimeGMT - OpenTimeGMT) the second) "Minutes"], I get 49 minutes I expect

    When I write [extract (minute since (TimeToRepairGMT) second day) "Minutes"], I get an error "syntax error was found in the interval value expression.

    The three fields are declared as 'date' DESC command (even if TimeToRepairGMT is clearly an interval, based on the value of "4000/02/01 17:49:44" "").

    In fact, it is more likely that it is just a DATE, who got the year wrong somehow. Show how you have assigned values to these columns.

    While I can plough with my work-around, I really want to know how to deal with intervals that are stored in Oracle tables as dates. Any help is appreciated!

    The intervals are difficult to work. I suggest that you use very little, or not at all. Keep the storage points in time as DATEs, but store the length of the time as a NUMBER; either the number of minutes, hours, or days, depending on what is appropriate for your data and your business needs best.

    Let's say you decide to keep TimeToRepair as the number of minutes, the length of time of OpenTImeGMT to ResolvedTimeGMT. When you subtract one DATE from another in Oracle, the result is a NUMBER, the number of days between these two DATEs. To get the number of minutes, which multiplied by the number of minutes per day. So the forumla for TimeToRepair is

    (ResolvedTimeGMT - OpenTimeGMT) * 24 * 60
    

    If you store the length of time as a NUMBER, it is very easy to get totals and averages.

    If you want to display this number of minutes like days hours: minutes: seconds, then you can use an INTERVAL, but just for display. Use the NUMTODSINTERVAL function to convert the NUMBER to an INTERVAL DAY TO SECOND:

    NUMTODSINTERVAL (TimeToRepair, 'MINUTE')
    

    I hope this helps you.
    Whenever you have a question, it is useful to show an example of what you have tried and what results you want to get. Post CREATE TABLE and instructions INSERT for examples of data and the results you would get from these data. You will get answers sooner if your question is specific. "How work intervals?" is a very difficult question. Many people who can help you to not trying to answer a question as broad. But if you can formulate your question as: "I need help understanding intervals. Beginning with this data... I tried thinking it would follow... but instead, I got... Why is this? The manual SQL language, to... says..., why is... happening? ", and then it will be easier to help you.

  • a matter of simple syntax that I hope!

    A few months ago, I got assistance by Jono (thank you) where the data in a cell of a table could be repeated it is in another table in my form. all other cells have been indepedant outside of a single cell.

    The downside was that the first table could grow by clicking an add button - IE. It started with a single row, but could have more and the table cell which has been repeated should retain its individual content.

    So, here's the code I used:

    Form1. Review.reviewsub.reviewtable._planrow. Count = form1.plan.plansub.plantable._planrow.count;

    vCol1 var = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .wb");

    vCol2 var = this.resolveNodes ("form1. Review.reviewsub.reviewtable.planrow [*]. "WB");

    for (var I = 0; vCol1.length i < ; I ++) {

    vCol2.item (i) .rawValue = vCol1.item (i) .rawValue;

    }

    It is placed in the onsave event of the table where the data is taken in and the cell it brings data in is called wb

    It works a treat.

    However, and I'm being really stupid here, I've now been asked to shoot in another cell of table data in the same table origin called "better." Problem is that if I simply repeat lines 2 and 3 of the code above it fire only in the 'better' cell data and not the "wb" cell more.

    It is therefore a question of syntax - how lines 2 and 3 of the code of work for the TWO 'wb' and 'better' - I tried

    var vCol1 = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .wb","form1.plan.plansub.plantable.planrow [*] .better");

    I tried

    var vCol1 = this.resolveNodes("form1.plan.plansub.plantable.planrow[*].wb"), ("form1.plan.plansub.plantable.planrow [*] .better");

    and a few others - as you can tell, my script is a bit fragile.

    Someone at - it help him?



    Tri-thought post it here so someone else can use if necessary.

    The correct code is:

    Form1. Review.reviewsub.reviewtable._planrow. Count = form1.plan.plansub.plantable._planrow.count;

    var vCol1 = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .better");

    var vCol2 = this.resolveNodes ("form1. Review.reviewsub.reviewtable.planrow [*]. Better");

    var vCol3 = this.resolveNodes ("form1.plan.plansub.plantable.planrow [*] .wb");

    var vCol4 = this.resolveNodes ("form1. Review.reviewsub.reviewtable.planrow [*]. "WB");

    for (var i = 0; i)< vcol1.length;="" i="" ++)="">

    vCol2.item (i) .rawValue = vCol1.item (i) .rawValue;

    vCol4.item (i) .rawValue = vCol3.item (i) .rawValue;

    }

    I confused me on the name of the variables - thought vCol directly related columns (they can be called nothing) - so actually I simply had to double up on the variables to ensure that the two cells in the original (vCol1 and vCol3) table cells have been mapped in the subsequent table (vCol2 and vCol4 respectively) cells

  • AS3 syntax question

    Hello

    Having a problem or issue of syntax. When I'm writing this in AS3, I get the right result: 4

    var wordArray1:Array = ['test', 'Apple', 'orange', 'olive'];

    var theLevel:Number = 1;

    trace (root ["wordArray" + likethis] .length);

    but when I write it in this way, inside a function, I get an error:

    function test (): void

    {

    var wordArray1:Array = ['test', 'Apple', 'orange', 'olive'];

    var theLevel:Number = 1;

    trace (root ["wordArray" + likethis] .length);

    }

    test();

    I don't understand what I am doing wrong? Any ideas?

    in the second case, wordArrays scope is limited to the function.

    so when you try to address wordArray with root.wordArray, the main timeline is unclear on this issue.

    simple solution: declare it outside the function.

    var wordArray1:Array;

    function test (): void

    {

    wordArray1 = ['test', 'Apple', 'orange', 'olive'];

    var theLevel:Number = 1;

    trace (root ["wordArray" + likethis] .length);

    }

    test();

  • A simple PHP Question

    Hey guys,.

    I learn some basic PHP to make a simple form, and I have a small question. I have these two test of the PHP, Form.php and acion.php files. What you enter in the form is then displayed via $_POST to action.php that gets displayed. Here are the test sites:

    http://christianstest.info/phptest/form.php

    http://christianstest.info/phptest/action.php

    And for two, verry simple code:

    Form.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>PHP Form Test</title>
    </head>
    
    <body>
    <form action="action.php" method="post">
     <p>Your name: <input type="text" name="name" /></p>
     <p>Your age: <input type="text" name="age" /></p>
     <p><input type="submit" /></p>
    </form>
    
    </body>
    </html>
    

    and action.php


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    Hi <?php echo htmlspecialchars($_POST['name']); ?>.
    You are <?php echo (int)$_POST['age']; ?> years old.
    </body>
    </html>
    

    Now I want to do is have action.php store data entered in Form.php so that someone could link directly to action.php and see what the end user concluded Form.php. Now, if you go directly to a non action.php caching it does nothing for the return of name and age. How can I get this data stick? If in fact, it is not a simple question, can you point me to a tutorial? Thank you!

    You'll want to republish this topic in the Dreamweaver forum:

    http://forums.Adobe.com/community/Dreamweaver?view=discussions

    Take care, Mike

  • validation to a specific table only and simple a question on the dml trigger

    Hi all

    guess I am connected to a database with the user ' scott'/'tiger'@orcl and I have the fire instructions insert on 2 different tables allows say tables is
    (1) emp
    (2) Dept.

    and now I want only to commit the emp table and not the table dept, is it possible to do?

    Another question, I have... are commit simple dml triggers auto or not?

    Concerning
    Rahul

    Mac_Freak_Rahul wrote:

    and now I want only to commit the emp table and not the table dept, is it possible to do?

    No, it isn't. You post a transaction, not a table...
    So if you have handled several tables in your transaction, you agree to be all these changes (via the command commit), or any of them (via restore).

    >

    Another question, I have... are commit simple dml triggers auto or not?

    If your dml trigger manipulate data (a very bad practice by the way), then they just add to all of the changes made to the breast of your transaction, you (as mentioned above), either commit all or none.

  • simple thread question

    Hello world

    My question is quite simple.  I have two text boxes. I wrote "123" in the first text box and 'abc' in the second area. When I put the two boxes, the content in the second box automatically flowed to the first area, because there was space in the first box. Now the first box shows "123abc", and the second box is empty.

    How to stop Indesign automatically cela. Is this possible?  I know I can do it by screwing the two boxes first then the input data, but I have already entered all my data and it save me a lot of time if I can just have screw now.   Thank you very much!

    Simon

    Until you put frames, insert a frame break in all Type > submenus insert a special character

    Then content don't flow from 1 in frame 2 frame when you put on, because you insert a frame break stops at what happens.

  • Table Simple Dreamweaver question

    I have so many tables, 100 rows, 5 columns for my data.  Here's my question, is there a way to tilt the table given above then go down and up and down.  All my data is from the old to the new, when I want recent to old.  I know that you can do in Excel by alphabet or date, id there a way DW

    Someone can correct me if I'm wrong, but I'm sure you can't sort a column or row of values in a table html using DW. What you could do is create your list in Excel, sort the list in Excel and copy the range of the table and paste it into DW, which will create a perfect html table. You can also copy and paste from Dreamweaver to Excel, but it is not as simple. You will need to copy and paste a column at a time, and you will have an additional empty line for each line populated.

    Another solution is to create a mySQL table that can be easily sorted and uses PHP to display the table on your page. You must know at least the basics mySQL and PHP to do that, but if want to add constantly new records to your table, mySQL is your best solution. If your table is static, the first solution works perfectly.

  • Flashback database syntax question

    EE Oracle 10.2.0.4 on OEL 5

    This should be a matter of syntax simple, right?

    Practice some scenarios to return back and looking at the syntax to
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta032.htm#sthref515

    In the examples, they show a
    RMAN> FLASHBACK DATABASE TO TIMESTAMP
       TO_TIMESTAMP('2002-03-11 16:00:00', 'YYYY-MM-DD HH24:MI:SS');
    but the real syntax diagram does not show an option "TIMESTAMP", just "on TIME" and "AHEAD of TIME".

    Based on, let's try a simple test
    RMAN> flashback database to time = '18-MAY-2010 12:50:00';
    
    Starting flashback at 18-MAY-2010 13:10:00
    using channel ORA_DISK_1
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of flashback command at 05/18/2010 13:10:00
    ORA-01830: date format picture ends before converting entire input string
    Hmm, okay, then what format does? In fact, he reported in two different formats:
    Starting flashback at 18-MAY-2010 13:10:00
    and
    RMAN-03002: failure of flashback command at 05/18/2010 13:10:00
    If pressing on some others, let's try that should be obvious:
    RMAN> flashback database to time = to_date('05/18/2010 12:50:00','mm/dd/yyyy hh24:mi:ss')
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "double-quoted-string, single-quoted-string"
    RMAN-01008: the bad identifier was: to_date
    RMAN-01007: at line 1 column 30 file: standard input
    
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "(": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"
    RMAN-01007: at line 1 column 37 file: standard input
    
    RMAN>
    Built on the docs and other resources on the web, I find several variations on the theme, but all end up throwing one of the errors above.

    I can't believe, I've been reduced to what should be a matter of doc, but in this case, it's the documentation examples which throw errors. I'm going blind? The brain cell was killed by that I had last week of beer criticism? ;-)

    From:

    RMAN> flashback database to time = to_date('05/18/2010 12:50:00','mm/dd/yyyy hh24:mi:ss')
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "double-quoted-string, single-quoted-string"
    RMAN-01008: the bad identifier was: to_date
    RMAN-01007: at line 1 column 30 file: standard input
    

    Could you please try adding double quotes around the expression date?

     flashback database to time = "to_date('05/18/2010 12:50:00','mm/dd/yyyy hh24:mi:ss')";
    
  • interpolation syntax question

    Dear list

    I have a question of basic syntax that I realized that I'm not very familiar with in flash8. It came when I tried to create a combobox to allow the user to choose different types of interpolation and the relaxation of the Tween class.

    I created two comboboxes, one with all the values of interpolation (Regular, Strong, elastic...) and the other with all values of acceleration (easeIn, easeOut...)

    When I trace the variable comboFunc below it draw a function, but once that I plug it on the method of tweenExtended nothing happens. It seems to interpolate all the same way.

    What I'm missing here?

    all the tracks are appreciated.

    Thank you

    Stephan



    -----------------
    var tweenType = [_root.growingTween.selectedItem.data];
    var easeType = [_root.growingEase.selectedItem.data];
    var comboFunc = [tweenType + easeType];
    This.Tween = new TweenExtended (this.ring, ["_xscale", "_yscale"], ([tweenType + easeType]), eval [this.ring._xscale, this.ring._yscale], [_root.getMinSize (), _root.getMinSize (), _root.getShrinkSpeed (), true);


    Not real clear about your code snippet. But I guess that you can store the name method acceleration under a label and the tween as the data class. Then use the selectedItem.data to the Tween class. But you can also watch the code attached for another example.

  • Really simple (hopefully) question about GPIB-USB-HS

    I tried to reconnect a GPIB-USB-HS to a network through a PC HP on shelf Analyzer. Before removing the GPIB-USB-HS system about a week or two ago, Network Analyzer (a vintage 1989 HP 8720 vector Network Analyzer) had worked well with the GPIB unit. Now that I reconnected the GPIB device to network monitor, measurement and automation seems not be able to detect the Network Analyzer.

    My question is: if my GPIB-USB-HS appear in measurement and automation, and it passes the NOR-488. 2 troubleshooting of HW and SW utility test, it would be safe for me to assume that whatever connection problems I have with the Analyzer network, rather than with the GPIB-USB-HS itself?

    Thank you

    Armando83

    I finally got the connection working again. I just had to tighten the screws on the GPIB-USB-HS to make sure it's a good connection to the Network Analyzer so that it can work.

    Thanks again for your help, Dennis.

  • Java syntax question

    I'm sure it's very banal, but I saw this syntax used in the development of BlackBerry:

    //default gauge
        final GaugeField gf1;
        {
          gf1 = new GaugeField();
          gf1.setLabel("default gauge:");
          gf1.setValue(12);
          fields.addElement(gf1);
        }
    

    What is the purpose of braces here? There is no method/condition/iteration header before, then what is it in the code? I've seen this used in books and tutorials of BlackBerry. I can't find all the details on its use. Can someone shed light on this or point me to the material that covers this syntax? trivial, but it's probably...

    c it is a compound statement. in this block, all defined variables are no longer valid within this block. That's all.

  • simple sql question

    What's not here?

    Select "update lookup_Nationalities set NAME = 'Philippinien' where NAME =' |" NAME of lookup_nationalities.

    I want to have commands like update

    Update lookup_Nationalities set NAME = 'Afghanistan', where NAME = 'Afghanistan ';

    Update lookup_Nationalities set NAME = 'Belgien' where NAME = 'Belgien ';

    Update lookup_Nationalities set NAME = 'China' where NAME = 'China ';

    ....

    thanx

    Hello

    Whenever you have a problem, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements), so that people who want to help you can recreate the problem and test their ideas.

    Also post the exact results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.

    If you ask yourself on a DML statement, such as UPDATE, then the CREATE TABLE and you post instructions INSERT must re - create the tables as they are to the DML, and the results will be the content of the or a modified tables when it's all over.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

    2843667 wrote:

    What's not here?

    Select "update lookup_Nationalities set NAME = 'Philippinien' where NAME =' |" NAME of lookup_nationalities.

    I want to have commands like update

    Update lookup_Nationalities set NAME = 'Afghanistan', where NAME = 'Afghanistan ';

    Update lookup_Nationalities set NAME = 'Belgien' where NAME = 'Belgien ';

    Update lookup_Nationalities set NAME = 'China' where NAME = 'China ';

    ....

    thanx

    If you want to include single quotes inside a string literal, use either 2 single quotes inside literal, like this:

    Select "update lookup_Nationalities set NAME =" Philippinien "where NAME =' |" NAME

    of lookup_nationalities;

    or use Q-rating:

    Select Q '{update lookup_Nationalities set NAME = 'Philippinien' where NAME =}' | NAME

    of lookup_nationalities;

    Whatever it is, you don't want anything like ' | ' at the end, after the «;»

    Be careful: I bet that you do not want the output to be something like

    set lookup_Nationalities set NAME = 'Philippinien' where NAME = Sverige

    I suspect you want single-quota around Sverige, too.

Maybe you are looking for

  • RoboForm 7.7.9 blocks Firefox 14.0.1

    Firefox has disabled my Roboform toolbar. Then Firefox auto-implementation to date v 14.0.1I downloaded the latest version of Roboform for Firefox (7.7.9.9)It installs OK and the smaller version of the Roboform toolbar appears. However, as soon as I

  • claim code for HP Photosmart 8550

    I have a HP Photosmart 8550, this is not web active or wireless.  I registered my HP Laserjet 425 without problem, claim code have been automatically generated. Is it possible to join HP connected to this printer?  If so, how do you get a claim code?

  • Tecra A10 - 14 p Wont work on a working farm

    Hi guys, I have a Tecra A10 0n Win 7 x 64 Pro and worked perfect for centuries, all of a sudden the laptop went into hibernation and now a single initialize with AC plugged in. The battery is fine as I tried it on another laptop without problem. When

  • Re: NB200 - 10 p Overclock

    Hello. I need help overclocking my Toshiba Nb200 - 10 p. I tried to overclock with SetFSB but it did not work. I managed to find some information and his chip is supposed to be * SLG8SP556V * is not in SetFSB. The closest is * SLG8SP513V * but when I

  • MFP HP Laserjet Pro M476dw: M476dw Scan to folder slow network

    We just bought a HP Laserjet Pro M476dw to replace our Epson and Samsung printers. Our Epson has been used for scanning, which, as a paperless office, we have volume when you scan incoming documents in our files. We have implemented the Scan option n