Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
procone.py -- OMUD
09-26-2020, 07:05 PM
Post: #6
RE: procone.py -- OMUD
(09-26-2020 06:27 PM)lingu Wrote:  
(09-26-2020 04:34 PM)zhihao Wrote:  
(09-26-2020 12:38 PM)lingu Wrote:  
(09-25-2020 01:15 AM)zhihao Wrote:  if $reqtype is "delete"
deleteIfMatch()
else
query()
}

Pls make it a switch although the implementation may use if/else

There is a branch for 'select', right?

should answer the question!
Yes, I miss the branch 'select' and added it into headpost

(09-26-2020 06:27 PM)lingu Wrote:  
Quote:updated as follows:
Code:
switch ($reqtype) {
    case "delete":
        deleteIfMatch()
    case "select"
        selectIfMatch()
    deault:
        query()
}

As far as I can tell, we haven't implemented those functions, yet. We should implement them, soon. When implementing them, make sure to run the tests using 'make test' frequently and make sure all tests are happy.

OK
Quote this message in a reply
Post Reply 


Messages In This Thread
procone.py -- OMUD - zhihao - 09-25-2020, 01:15 AM
RE: procone.py -- OMUD - zhihao - 09-25-2020, 01:31 AM
RE: procone.py -- OMUD - lingu - 09-26-2020, 12:38 PM
RE: procone.py -- OMUD - zhihao - 09-26-2020, 04:34 PM
RE: procone.py -- OMUD - lingu - 09-26-2020, 06:27 PM
RE: procone.py -- OMUD - zhihao - 09-26-2020 07:05 PM
RE: procone.py -- OMUD - lingu - 11-30-2020, 01:13 PM
RE: procone.py -- OMUD - zhihao - 08-12-2021, 11:43 AM
RE: procone.py -- OMUD - zhihao - 08-10-2021, 01:58 PM
RE: procone.py -- OMUD - lingu - 08-11-2021, 06:57 PM
RE: procone.py -- OMUD - zhihao - 08-12-2021, 11:32 AM
RE: procone.py -- OMUD - zhihao - 08-11-2021, 08:24 PM
RE: procone.py -- OMUD - zhihao - 08-12-2021, 11:28 AM
RE: procone.py -- OMUD - zhihao - 08-12-2021, 12:14 PM
RE: procone.py -- OMUD - lingu - 08-14-2021, 12:35 AM
RE: procone.py -- OMUD - zhihao - 08-14-2021, 01:04 PM
RE: procone.py -- OMUD - zhihao - 08-13-2021, 07:36 PM
RE: procone.py -- OMUD - lingu - 08-14-2021, 12:37 AM
RE: procone.py -- OMUD - zhihao - 08-14-2021, 06:30 PM

Forum Jump: