Tester of simple math

Hey guys,.

While I've done a few simple to practice math programs. I made this one as a simple Tester addition, subtraction, multiplication, division. It tests addition/subtraction between 1-100 and 12 times tables multiplication and division.

I think it's just cos I he has scripted a stupid way, but I'm having a few problems and I couldn't make it work. First of all, I'm not entirely sure how to allow a sign less in response without apparently upset everything. I thought it would be just:

answerBox.restrict = "0 - 9\\-".

or something similar but apparently that mess eveyrthing upward when I try. Also, I used a simple 0 or mechanic 1 chance to decide whether or not it would add/sup or mult/div, then I used the same mechanic to choose ' Add or sub ", or"mult or div ". The problem is only ever get addition or subtraction, it never creates a question of multiplication or division (even if I get roughyl 50-50 Add and sub, so the mechanic works).

In addition, he sometimes tells me that an answer is wrong when he's right, as the sum of 10 + 3 and I give the answer as 13 and he says it's bad.

I don't get THE error messages or warnings in the errors section.

So basically, my questions are: is this the best way to make this program? (I'm sure it's not)

: why it will not display the mult/div ones?

: How to leave a sign less while limiting the entry of text in the reply box?

: why it sometimes tells me some good answers are wrong?

Thanks, here's the code. Ignore the 'face' emoticon, it's just an image movieclip who seems happy or angry, be they good or bad

package

{

import flash.display.MovieClip

import flash.events.MouseEvent

SerializableAttribute public class Main extends MovieClip

{

numberOne var = uint;

numberTwo var = uint;

response of var = int;

var equationSign = String;

veracity of var = String;

public void Main()

{

emoticonFace.stop ();

answerBox.restrict = "0-9";

questionButton.addEventListener (MouseEvent.CLICK, onQuestionButtonClick);

answerButton.addEventListener (MouseEvent.CLICK, onAnswerButtonClick);

}

function onQuestionButtonClick(event:MouseEvent):void

{

If (Math.round (Math.random ()) == 1)

{

If (Math.round (Math.random ()) == 1)

{

equationSign = "check";

}

on the other

{

equationSign = "subtraction";

}

}

on the other

{

If (Math.round (Math.random ()) == 1)

{

equationSign = 'multiplication ';

}

on the other

{

equationSign = "division."

}

}

If (equationSign == 'addition' |) "subtraction")

{

numberOne = (Math.ceil (Math.random () * 100))

numberTwo = (Math.ceil (Math.random () * 100))

firstNumber.text = numberOne.toString ();

secondNumber.text = numberTwo.toString ();

If (equationSign is 'addition')

{

equationSymbol.text = ' + ';.

}

Else if (equationSign == "subtraction")

{

equationSymbol.text = ' - ';.

}

}

Else if (equationSign == 'number')

{

numberOne = (Math.ceil (Math.random () * 12))

numberTwo = (Math.ceil (Math.random () * 12))

firstNumber.text = numberOne.toString ();

secondNumber.text = numberTwo.toString ();

equationSymbol.text = 'x '.

}

Else if (equationSign == 'division')

{

numberTwo = (Math.ceil (Math.random () * 12))

numberOne = (numberTwo * (Math.ceil (Math.random () * 12)))

firstNumber.text = numberOne.toString ();

secondNumber.text = numberTwo.toString ();

equationSymbol.text = ' / ';.

}

}

function onAnswerButtonClick(event:MouseEvent):void

{

answer = int (answerBox.text);

If (equationSign is 'addition')

{

If (answer is (numberOne + numberTwo))

{

correctIncorrect.text = "that's right!"

emoticonFace.gotoAndStop (3);

}

on the other

{

correctIncorrect.text = "you're wrong!"

emoticonFace.gotoAndStop (2);

}

}

Else if (equationSign == "subtraction")

{

If (response == (numberOne - numberTwo))

{

correctIncorrect.text = "that's right!"

emoticonFace.gotoAndStop (3);

}

on the other

{

correctIncorrect.text = "you're wrong!"

emoticonFace.gotoAndStop (2);

}

}

Else if (equationSign == 'number')

{

If (response == (numberOne * numberTwo))

{

correctIncorrect.text = "that's right!"

emoticonFace.gotoAndStop (3);

}

on the other

{

correctIncorrect.text = "you're wrong!"

emoticonFace.gotoAndStop (2);

}

}

Else if (equationSign == 'division')

{

If (response == (numberOne / numberTwo))

{

correctIncorrect.text = "that's right!"

emoticonFace.gotoAndStop (3);

}

on the other

{

correctIncorrect.text = "you're wrong!"

emoticonFace.gotoAndStop (2);

}

}

}

}

}

change

numberOne var = uint;

numberTwo var = uint;

response of var = int;

var equationSign = String;

veracity of var = String;

TO

private var numberOne: uint;

private var numberTwo:uint;

private var response: int;

private var equationSign:String;

private var veracity: String;

and

If (equationSign == 'addition' |) "subtraction")

TO

If (equationSign == 'addition' | equationSign == "subtraction")

and let me know if you still have problems

Tags: Adobe Animate

Similar Questions

  • Understand simple math in HP 12 c

    Hi guys,.

    I really wish that someone can help me here before I have send HP customer support. I just received a brand new calc HP12c as a gift. This is my first time to use a financial calculator. I learned yesterday to calculate the time value of money which was pretty cool because it makes really easy calculation UNTIL I'm curious regarding how to do simple math - additions/deductions as there is not (=) equal sign. So I youtubed, followed by what is said on the vid, but somehow my calculator gives me ALWAYS the wrong answer. Say I do 5 + 3, the answer is 8, right? What I did before putting any character, I pressed CLX first, then supported on the f END just to make sure I erased everything and then pressed 5 3 ENTER ENTER +, guess what? Answer is always 10. WHY? Hope you can help me guys because he's too good of a calc to have.

    Thank you very much

    wrinxtin

    You are right! I have coz as soon as I tried 5 INPUT 3 +, it gives me 8 this time. But now my question how can I just reset back to normal not RPN postfix? I know that I really have TO read the manual, but I have 3 exams this week so just want to learn more quickly... so I'll have to all the time next week he read Word by Word.

  • Unable to test the simple SOA application due to the JCA error

    Hi I'm testing a very simple SOA application... the composite application contains a DB service as point that routes data through mediator in the DB adapter and attempt to insert data into a table entry.

    When I go to EM and run the application by giving the input data for the parameters WSDL and the practice test... He throws JCS error and is not able to connect to the database because it can not find the JNDI name. I gave the same JNDI name in data sources in weblogic server and connecting to tables when creating the application but don't know why this isn't finding the JNDI name. Here is the error:

    JCABinding = > Project1:InsertData [InsertData_ptt::merge(PersonCollection,PersonCollection)] could not invoke operation "merge" against the "null" due to:

    LIAISON. JCA-12511

    JCA Binding Component connection problem.

    JCA Binding component is unable to create an outgoing connection of JCA (CCI).

    Project1:insertData [InsertData_ptt::merge (PersonCollection, PersonCollection)]: The JCA Binding component could not establish an outbound connection of JCA CCI due to the following problem: BINDING. JCA-12510

    Location of JCA resource adapter error.

    Cannot find the adapter in JCA resources via the element of the binding .jca file <-factory connections / >

    The Binding of JCA component is unable to startup of the resource adapter that is specified in the <-factory connections / > element: location = ' EI/DB/LocalXE.

    The reason is most likely to be

    (1) the resource adapter RAR file has not been deployed successfully to the WebLogic application server or

    (2) the "< jndi name >" element in weblogic - ra.xml has not been defined in eis/DB/LocalXE. In the latter case, you need to add a new factory of connections from WebLogic JCA (deploy a RAR).

    Please fix this and then restart the application server

    11.1.1.7 and 11.1.1.7 and 10.3.5 weblogic Server SOA-JDev

    Looks like your factory connections can be a problem? You have created the connection factory in pools of outbound connections for the DB adapter. See adapter JCA Oracle Database - 11 g Release 1 (11.1.1.6.3).

    Sometimes you have to press "enter" key to save the data.

  • How can I specify simple math as in a knot of formula but on the front panel?

    If the formula node had a "text" property, that would work for me, because I could limit my entries and exits for N floating point numbers.

    LabVIEW was once such a thing, but it was in a library of math to Add on, and I don't remember what it's called.

    Look in the math > Scripts & forms > formula palette analysis.

    Lynn

  • How do you add simple math to a form?

    I made a form with a text box named A, B, C.  How the script A - B = C. I read you and you wish for an hour and can't find simple syntex for this.  Please help me get started with simple mathematical equations so I can understand how Acrobat 9 pro.

    Thank you

    Do you mean you want the value of field F to B - A?

    If so, go to the properties of the field, the calculation, the Simple Notation tab

    Script, and then type:

    A B

  • Tests of details editing simple?

    We have a Pro account.

    I created a single Edition thru App Builder application and installation purchase app via iTunes Connect. I downloaded the .ipa file to my iPad. The folio works correctly. How to test this simple editing app purchase?

    Tom

    Why must you configure In - App purchase for only editing application? In a single edition of DPS app, you can't have an in-app purchase. In-app purchase is for folio issue multi. In a simple editing application, your folio is supported in the app and the whole package is sent and stored at Apple.

    Moreover, there is no test environment purchases for a single publishing application. You can only download the .ipa and test it on your device before sending it to Apple for approval. Apple already knows that as long as your simple editing application works for you through the developer.ipa on the test device, purchase of should not be a problem for end users. There is therefore no need to test the workflow of purchase

  • Displaying a message timed in panel test for 10 seconds

    What is the best way to display a pop-up message timed in the current test Panel?

    OMHG ^ (oh my God Holy above)

    I'll post a decent waiting for work routine tomorrow.

    NI - go - you buy or rent, a watchmaker?

    JC-do you know what KIND of 'time', you are "pending" once again, "Time" is measured in seconds IF and equal to a specific number of transisitions two hyperfins States of the valence electron on an specific isotope of a cesium atom.  Submitts NIST their approximation of the 'time' to an international body of correction on a regular basis (ir)

    'Civil hour' (day-time) is a legal term, not measurable traceable and is coordinated through the world.  'Civil hour' as a legal term and has no scientific measure related to the "time".

    Assuming (a big assumption) that you care nothing "civil" (time of day) or 'Time' (a dimension of root), a mS OS system clock has a value that is useful for these types of applications.

    LabVIEW has two definitions of independent type "Timestamp", a cluster derived from local 'Civil hour' represented by the system clock of the BONES (the calaibration is left to the BONE) and 'mStimer.value', which stems directly from mStimer OS only on BONES procesess dependent (the calaibration does not exist)

    That being said, the mS of a PC timer is an int of U32.  Add U32 int + unk (converted in a XXInt), and the result can be greater than the largest possible "mStimer.value".  Once each week as the mStimer rolls over - now if you 'expect' mStimer.value is superior to + inf... (that could take forever)  Smile - everybody its happened to me! and the reason why I became a watchmaker of frame (please do not tell my wife - she is still pending)

    Of course, the simple math can predict a flurry of a U32.  I do it all the 'Time' with the late vi I wrote to avoid waiting forever.

    Who else wrote a?

    is NOT stuck in the same loop with the fix for wait + (mS) .vi?

  • How can I make user custom interface e-mail allow the user to control the tests?

    Hello.

    I am totally new to TestStand and I try to use it to test a simple dll to a larger system, as kind of an assessment to see if we want to migrate to this system.

    I use TestStand 4.2 with LabWindows/CVI 8.5... He was going along fine, but now I'm stuck trying to customize the user interface

    Specifically, I want to have the user be able to control what are called in the order and be able to choose (through, say, a digital control) what inputs are sent to the object to be measured.

    I found a few examples, but they seem just to manage the display of TS data to the user interface, not * is * data of the UI back to TS...

    Is there a tutorial that handles such things?

    I'm seriously lost here.

    To answer your question, the best way to get info from the user interface in the file of the sequence is to do the same thing were the examples you were watching.  Except that your data will be the SequenceContext.  Then, you can use the nodes property or even the screws TS to set the properties inside your sequence.

    There may be a better way to accomplish what you want though.  Why not pop up a dialog box (written in CVI) in the (substituted in your movie file) PreUUT with a list of 'tests' of your sequence?  The user can select which tests they want to run.  Then the prerequisites for your steps which indicate the step execution based on what the user has selected.  The dialog box can also have entries that is filled to the sequence (with parameters) which can FileGlobals or people of the country or whatever.

    User interface messages are used for the duration of decisions or feedback.  It seems that your case would be more than one once a decision to run.  Unless they choose tests during execution.

    Hope this helps,

  • Multiple reporting of test problems in TestStand 4.1.1

    We lack TestStand 4.1.1 and LabVIEW 8.6.1.  We have a vast repository of production and test fixtures, with lots of code-sharing and others.  We build installers for all of our tests and deployments every night with a build server automated.  We have newer versions of the TestStand, LabVIEW, but due to process bugs in TestStand deployment (and installer of construction), we can use them with our footage/projects/workspaces.

    We have traditionally been configured to test as html reports, because it is easy to visualize the reports not only on the test set-up, but on any other platform.  The problem is that the html reports are difficult to analyze programmatically.  To do this, you really want the report xml format.  The problem is that the xml reports require a style sheet, and the viewer only, we have learned to work is Internet Explorer.  It's not very portable, especially on platforms.

    So we got the mandate to produce test reports in both formats.  I found a thread here describing how in TestStand 3.5.1 and started with the model of update sequence posted in this thread.

    http://forums.NI.com/T5/NI-TestStand/create-two-TS3-5-reports-XML-and-ATML/TD-p/471394/page/2

    I need to edit the SequenceModel file, and some mods are also required in the ModelSupport.seq file.  I don't want to change the default settings, so I make copies of the files and specify that my sequences use modified versions.  Thus, the process I use so far goes like this:

    . Copy the file

    C:\Program NIUninstaller Instruments\TestStand 4.1.1\Components\Models\TestStandModels\ModelSupport.seq

    TO

    C:\MyWorkingDirectory\ModelSupport_multiReport.SEQ

    . Download SequentialModel.seq from this thread
    http://forums.NI.com/T5/NI-TestStand/create-two-TS3-5-reports-XML-and-ATML/m-p/471394

    . Copy the file to
    C:\MyWorkingDirectory\SequentialModel_multiReport.SEQ

    . Open the sequence above in the sequence editor
    . under the following subsequences, there the integrated sequence called ModelSupport.seq sequence request.  You must redidrect these calls to use
    C:\MyWorkingDirectory\SequentialModel_multiReport.SEQ

    . sequence calls that may be needed are found in
    Test DUT
              
    Simple pass
    Configure the report Options (call to the "Configuration of Report Options")
    Configure the Options of SecondReport (call in the "Configuration of Report Options")

    . create the directory
    C:\Program NIUninstaller Instruments\TestStand 4.1.1\Cfg\SecondReportDetails
     
    . Note that the "Cfg" directory is a shortcut to
    C:\Documents and Settings\All Users\Application Data\National Instruments\TestStand 4.1.1\Cfg\

    . in SequentialModel_multireport.seq, find references to
    "C:\\Program Files\\National Instruments\\TestStand 3.5\\Cfg\\SecondReportDetails"

    and change them to

    "C:\\Documents and Settings\\All Users\\Application Data\\National Instruments\\TestStand 4.1.1\\Cfg\\SecondReportDetails"

    . There are several references
    . Test the DUT-> Get 2 Report Options
    . Single pass-> get 2nd Report Options
    . Configure the Options of second report-> Edit Report Options

    . After making the changes, check in your main sequence
    . Configure-> second report Options
    If the configuration window starts, all is ok so far.

    . Change the sequence file to require different model
    . Change-> sequence file properties, Advanced tab
    . Model-> specific model required
    . Go to the
    C:\MyWorkingDirectory\SequentialModel_multiReport.SEQ
    . Ok
        
    Finally, the problems:

    1. normally, when you run the sequence in "Test UUT" mode, when you stop (from the serial number prompt USE), the last test result appears in a pane view in sequence or the test Executive Editor, who ever you happen to use.  This causes a "TempReport.html" file to be generated in the reports directory, and normally, this file is deleted when reject you the report viewer.  This deletion occurs is no longer, and the directory will start to accumulate files "TempReport_0002.html," "TempReport_0003.html".  It is not desirable.  I went looking through the template and related files, but could not find where the temporary file is created or deleted, nor I could find where the viewer within the sequence editor is called.

    2. If the first report is html and the second is in xml format, the resulting xml file can no longer be read or in the sequence of the other editor or test the view of the Executive or in Internet Explorer pane.  The message in IE is:

    The XML page cannot be displayed

    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    Error running Microsoft JScript 'null' is null or not a subject line = 381, col = 3 (line is offset from the beginning of the sc...

    I checked, and there is nothing unique or commonplace online 381.  Column 3 is a space, and the rest of the line contains data used elsewhere and only some ordinary tags.  If the order of the reports is enabled, the xml report is visible in the view report sequence editor and through Internet Explorer.  (In other words, do the first report of the xml file and the second the file html.)  Now, I know what you think.  "Doc, does it hurt when I do this.'" " Well, don't do that! "If it works one way and not the other, use the way that works.  My concern, however, is why the resulting xml data files differ?  If I let this slide, it will come back as a big issue later, after that the memory of how I created this so is cooler?

    3. If I pull up to configure-> Options pane of report in the sequence editor, finish, so don't wait several seconds before pulling up to configure-> second report Options, the editor of sequences often disappears from the desktop.  A few seconds later, I get that annoying dialog box 'Do you want to tell Microsoft about the problem?' that appears when a program crashes and dies.

    If anyone has come across this, or how to fix it?  Thank you.

    M

    Hello

    I was not able to get the files that you use to work, but I found a model of different sequence on our DevZone page that works for me, trying to create two different reports.  It can be found here:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/3278

    As it says in the instructions, simply change the local variable called 'DisplayedReportFormat' in the file tworeportssequentialv30.seq on "html" or "xml" to change the output type of the second report.  The first type of report is normally configured via the menu.  Also, be sure to change the options of station to use this model.  I have confirmed that it works and that the temporary file is also deleted every time.  I hope this helps!

  • Error code 2000-0123 Msg: memory - integrity Test failed

    I have a DELL XPS9100

    [Admin note: personal information]

    [Admin note: personal information]

    Maintain the label [Admin NOTE: maintain the label removed in accordance with the TOU strategy]

    I also ran SEVERAL other tests - including Windows 7 memory test - it past

    Test of Stress System (manual)

    everything happened, but...

    Advanced Pattern testing
    Test started 17/06/2016-21:15:17
    Error message: The written model (5555555555555555) did not match the model read (5555555755555555) the physical address (000000025F55B088). In contrast to the model: 0000000200000000. 17/06/2016-21:15:51
    Completion test: Failed (error code: WME22-0V0) 17/06/2016-21:16:05

    file:///C:/users/CC/desktop/test%20Event%20Logs%20-%20system%20Stress%20Test.html

    teenscrapbook

    How to isolate tests of simple modules; knowing which module I test so that I know if I need to replace it

    teenscrapbook

    If you have two or more modules of memory installed, remove, reinstall one module, and then restart the computer and run the test, test messages no error, reinstall an additional module and repeat the test execution, if the test messages no error, repeat this procedure on all other modules.

    Studio XPS 9100 service manual is HERE:

    http://FTP.Dell.com/manuals/all-products/esuprt_desktop/esuprt_studio_xps_desktop/Studio-XPS-9100_service%20manual_en-us.PDF

    Bev.

  • Lack of Options &gt; Advanced Options &gt; Applications entry for the application of Simulator test

    I'm new to BlackBerry dev and I'm still doing my set up and tested development env.

    EPS consists of XP, Eclipse SDK 3.4.1 BlackBerry JDE plugin for Eclipse 1.0.0.67, BlackBerry component Pack 4.3.0.16 version 4.3.0 and the BlackBerry 8120 Simulator.

    I created a test application simple and loaded on the Simulator for testing through the cmd Eclipse Run > run as > Blackberry Simulator.  As expected, the application icon was displayed on the screen of the Applications (in the Simulator), and, when selected, the application has successfully launched and behaved normally.  So far so good.

    However, when I checked the Options > Advanced Options > Applications on the Simulator, I found that my request was not among others installed apps.  (I tried on two other simulators with the same results.)  I thought about reading the other posts on this forum that I would wait to see this information.   When I install on a simulator I would indeed expect display name information and the app version contained in Options > Advanced Options > Applications list?  If Yes, what should I do to make the information appear?

    Thank you.

    If you install your app in the Simulator simply by copying the COD file in directory of the Simulator (what is JDE when you run Debug), then you should not wait for the application to create. The modules in the files of the cod will be stil it well and that's all that generally the County. You can see the list of modules under Options-> Advanced Options-> Applications-> (Menu)-> Modules. Applications that are included in the Options-> advanced-> Applications are just constructions of metadata on top of modules to simplify various tasks, like setting permissions, adding and removing applications rather than tracking dependencies and individual modules.

    PS, You can programmatically create the entries in the application using the CodeModuleGroupManager and CodeModuleGroup if you really must have your request under Applications. Do not however forget that classic pose methods (Desktop Manager, Web OTA Download, BES OTA Push) all create them the entries in the appropriate application. So, you don't usually have to worry about this problem in the production environment.

  • a simple contact does not email

    Just tested the simple contact form on my Web site and it does not transmit to my email address.  The form shows message sent but it never happens.  Muse 2015.0.2.4 CL792950, published site by and hosted on BC.    Any help?

    The problem was with BC and is corrected now.  Thank you.

    cell phone: 775-276-2866

    Visit my website, videos for good people and good causes:

    http://marcialreiley.BusinessCatalyst.com/

    or my bio to:

    www.LinkedIn.com/in/marcialreiley/

    Wednesday, November 18, 2015, at 16:44, Sanjit_Das [email protected]>

  • WebService Test: a uknown attribute

    Hi all

    I'm testing my simple rule using SOAP UI base.

    When altering the initial values of my attr how I define a value for unknown so the determination OPA server sends a call saying that I need it.

    for example, the basis of rules is

    A if
    B and C


    So I want to initialize the webservice call to give the true value B and ask C therefore has found

    The donkeys Web service request call follows this structure:

    + type: _a +.
    result-style is only of attributes
    screen-if-unknown is false


    + type: _b. +
    type: boolean_val is real

    My question would be on not to set an initial value for the attribute C i.e.

    + type: _c +.
    is of type boolean_val * "unknown" / "some."

    - either these two words break the Webservice how do I initialize to an unknown value for the server call the attr...

    hope that makes sense... Thank you

    Hello

    A value (which is not deducted) does not by default, in order to not set a value for the attribute or leave on a request he attributes to a stranger. You can also use the 'unknown-val. An attribute can be defined uncertain by using the "uncertain-val.

    Example: attribute 'name '.

    Definition of the attribute to uncertain

    
      
    
    {code}
    
    Setting the attribute to unknown
    
    {code:xml}
    
      
    
    {code}
    
    Or just don't add the attribute element for firstname at all.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
    
  • Error is mass case tester for a modules having relationships

    Hello

    I was testing a simple modules having a self referring to relationships and company.
    When I use the MCT on this one then I get the following error when I put the value of "The number of instances of the entity that will be created" more than 1:
    (The same error is also to come if relations are not free, that is by invoking between two entities)

    Object reference is not set to an instance of an object.
    Exceptions: NullReferenceException
    Message: The object Reference not set to an instance of an object.
    Source: Oracle.Policy.Modeling.MassCaseTester
    HelpLink:
    TargetSite: Oracle.Modeling.MassCaseTester.RulebasePath BuildSolution(Double, Boolean, Oracle.Determinations.Engine.EntityInstance)
    Stack trace:
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    to Oracle.Modeling.MassCaseTester.RulebaseChecker.BuildSolution (Double dSlice, Boolean bTop, EntityInstance owningInstance)
    at Oracle.Modeling.MassCaseTester.RulebaseChecker.Check)


    Thank you
    Aakarsh

    The case of mass tester cannot process relationships that are not the containment relationships.

    This limitation will be better reported in point 10.2

  • Simple "If" statement which turned bad!

    It is the simplest display far more likely for this forum. I have the following:
    set serveroutput ON SIZE 1000000
    set heading off                
    set feedback off                
    set trimspool off               
    set echo off                    
    set pagesize 0             
    Declare
    v_date      varchar2(20);
    
    Begin
    
    select to_char(SYSDATE, 'Day') into v_date from Dual;
    dbms_output.put_line('The date is: ' || v_date);
        Begin
        if  v_date = 'Friday' Then
            
            dbms_output.put_line('Execute Weekly Accumulative Of Donation');
       else 
           
            dbms_output.put_line('Execute Daily Donation');
        end if;
        End;
    End;
    I have test some simple logic for a change I have to do. And, I do not understand why else branch is being chosen on the if statement. Today is Friday where I am. I'm using a to_char SYSDATE function, so it seems that the varchar2 (20) T_DATE is correct. Help!

    Use

     select to_char(SYSDATE, 'fmDay') into v_date from Dual;
    

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10592/sql_elements004.htm#CDEHIFJA

Maybe you are looking for