Results 1 to 5 of 5
  1.    #1  
    Tis code is writed by vbvbvb $script$,$I$ $want$ $to$ $convert$ $to$ $java$ $script$.$who$ $can$ $help$ $me$.$Thanks$.


    For v = 1 To 8
    If kkk(v) = "○" Then
    kkk(v) = "<font color=#33CC33>○</FONT>"
    Else
    kkk(v) = " "
    End If
    Next
  2. #2  
    what is kkk(v)?what is "○" ?
    a guess would be:
    for(int v=1;v<9;v++){
    if(kkk(v) = "○" ){
    kkk(v) = "<font color=#33CC33>○</FONT>"
    }
    else{
    kkk(v) = " "
    }
    }
  3. #3  
    some fixes:

    for(var v=1; v<9; v++) {
    ...


    if ( kkk[v] === "O") {
    ...
    kkk[v] = ...
    ...
    Last edited by artxxork; 03/30/2012 at 06:00 AM.
  4.    #4  
    Thanks for your help.
  5. #5  
    Quote Originally Posted by artxxork View Post
    some fixes:

    for(var v=1; v<9; v++) {
    ...


    if ( kkk[v] === "O") {
    ...
    kkk[v] = ...
    ...
    thanks I shouldn't code at 5am again.

Posting Permissions