Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

[RESOLVED] help me to convert this

$
0
0
Hi,
please help me to convert this to VB6,if any wrong coded on this,then please also mention here

Code:

  public static String a(String var0, String var1) {
      StringBuffer var2 = new StringBuffer(var0);
      int var3 = var0.length();
      int var4 = var1.length();
      int var5 = 0;

      for(int var6 = 0; var5 < var3; ++var6) {
        if(var6 >= var4) {
            var6 = 0;
        }

        var2.setCharAt(var5, (char)(var0.charAt(var5) ^ var1.charAt(var6)));
        ++var5;
      }

      return var2.toString();
  }

It will be most pleasure for me if anyone help me to convert this,eagerly wait for a positive response.
thanks in advance :)

Viewing all articles
Browse latest Browse all 21243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>