class AXMachineCode{
// common code lines used in machine code to declutter machine code
var dic:[String:Int] = [:]
@discardableResult
func addKeyValuePair(key:String,value:Int)->AXMachineCode{
dic[key] = value
return self
}
func...
class TrgTolerance {
// this boolean gate will return true till depletion or reset()
var maxRepeats:Int
var repeats:Int = 0
init(maxRepeats:Int) {
self.maxRepeats = maxRepeats
}
func setMaxRepeats(maxRepeats:Int){
self.maxRepeats = maxRepeats...
class AXCmdBreaker{
// separate command parameter from the command
var conjuration:String
init(conjuration: String) {
self.conjuration = conjuration
}
func extractCmdParam(s1:String)->String{
if s1.contains(conjuration){
return...
public class AXCmdBreaker {
// separate command parameter from the command
public String conjuration;
public AXCmdBreaker(String conjuration) {
this.conjuration = conjuration;
}
public String extractCmdParam(String s1){
if (s1.contains(conjuration)){...