Home > Software engineering >  The PHP code into the vb code $STR.=CRH (word ($data {$I}) (word ($char {$I})) % 256); How to write
The PHP code into the vb code $STR.=CRH (word ($data {$I}) (word ($char {$I})) % 256); How to write

Time:10-01

$STR.=CRH (word ($data {$I}) + (word ($char {$I})) % 256);

This is in PHP code
What is written into the vb?

I write str1=str1 + CRH (Asc (Mid (data1, I, 1)) + (Asc (Mid (chars, I, 1))) Mod 256)

The result is not consistent
  • Related