From 594282fffa788603c1d64c0e01816d6720e646fe Mon Sep 17 00:00:00 2001 From: Vincent de Lachaux Date: Thu, 21 Nov 2024 17:25:32 +0100 Subject: [PATCH] optimization --- Project/Sources/Classes/_modernize.4dm | 30 +++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Project/Sources/Classes/_modernize.4dm b/Project/Sources/Classes/_modernize.4dm index f45dcf3..453a024 100644 --- a/Project/Sources/Classes/_modernize.4dm +++ b/Project/Sources/Classes/_modernize.4dm @@ -13,30 +13,30 @@ Function C_2var() : Boolean This:C1470.rgx.setTarget($code) - If (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(604))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(305))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1488))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(307))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(283))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1216))).match())\ + If (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(283))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(284))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(285))).match())\ || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(286))).match())\ || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(301))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(285))).match())\ - || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(284))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(305))).match())\ || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(306))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(307))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(604))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1216))).match())\ + || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1488))).match())\ || (This:C1470.rgx.setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1683))).match()) - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(604))).substitute("var \\1 : Blob") - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(305))).substitute("var \\1 : Boolean") - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1488))).substitute("var \\1 : Collection") - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(307))).substitute("var \\1 : Date") $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(283))).substitute("var \\1 : Integer") - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1216))).substitute("var \\1 : Object") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(284))).substitute("var \\1 : Text") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(285))).substitute("var \\1 : Real") $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(286))).substitute("var \\1 : Picture") $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(301))).substitute("var \\1 : Pointer") - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(285))).substitute("var \\1 : Real") - $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(284))).substitute("var \\1 : Text") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(305))).substitute("var \\1 : Boolean") $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(306))).substitute("var \\1 : Time") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(307))).substitute("var \\1 : Date") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(604))).substitute("var \\1 : Blob") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1216))).substitute("var \\1 : Object") + $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1488))).substitute("var \\1 : Collection") $code:=This:C1470.rgx.setTarget($code).setPattern(Replace string:C233($pattern; "{C_}"; Command name:C538(1683))).substitute("var \\1") This:C1470.fullMethodText:=This:C1470.cursorOnFirstLine($code)