kfay Posted March 12, 2009 Report Share Posted March 12, 2009 OK so let's say I'm trying to practice my system over the opps' 1NT. I want E or W to be dealer at the bidding table, which is easy to accomplish by checking the box for dealers. But now I want dealer to have a 1NT opener. It seems like I want to use the selection operator '?' that DEALER recognizes. Here is an example from the webpage on some sample code using this operator: minornorth = clubs(north) > diamonds(north) ? hcp(north,clubs) : hcp(north,diamonds) corresponds to C language if (clubs(north) > diamonds(north) ) minornorth = hcp(north, clubs);else minornorth = hcp(north, diamonds); I want the dealer to have a 1N opener so it seems like I might want to use the language: dealer(west)?(hcp(west)>14&&hcp(west)<18&&shape(west, any 4333 + any 4432 + any 5332 + 2245 + 2254 + any 6322 - 6xxx - x6xx)):(hcp(east)>14&&hcp(east)<18&&shape(east, any 4333 + any 4432 + any 5332 + 2245 + 2254 + any 6322 - 6xxx - x6xx)) with both E and W boxes checked in dealer template to make either one dealer. I feel like the problem with this code resides in "dealer(west)?" but I can't say I'm certain. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Cascade Posted March 12, 2009 Report Share Posted March 12, 2009 I don't think dealer does this. The dealer(north) command simply sets the dealer to north. I can't see anything in the documentation where you can alternate the dealer. Quote Link to comment Share on other sites More sharing options...
TimG Posted March 13, 2009 Report Share Posted March 13, 2009 A workaround might be to give either east or west a 1NT opener. Half the time the dealer and the 1NT opener will be the same. A portion of the rest of the time, it will go P-P-1N. The others you can skip. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.