• full grid resizeable

    From blinkingblythe01@gmail.com@21:1/5 to All on Sat Jun 10 16:02:07 2017
    import sys

    zooz = 0

    zooz = sys.argv[1]

    print zooz

    # note: THIS IS INCREDIBLY INDENT/SPACE SENSITIVE! O_O


    # (grid code)

    #### row/column for grid dot (will be replaced soon)
    r = 4
    c = 2


    # --never change (THIS IS PARM POSITION NOT SIZE!)
    wlrln = sys.argv[2]

    # cln = sys.argv[1]

    # Grid dimentions (width/height)

    wt = 8
    ht = 9


    rln = wlrln[0]
    cln = wlrln[1]
    dln = wlrln[2]
    lln = wlrln[3]
    wln = wlrln[4]
    hln = wlrln[5]

    if ( lln == '1' ):
    print rln
    print cln
    print dln
    print wln
    print hln

    print '-----'

    r = int(rln)
    c = int(cln)
    d = dln
    wt = int(wln)
    ht = int(hln)


    s = 'zooz'

    # - 1 for debug
    # d = '0'

    #### running vars:

    b = 0
    z = 'xxxx'
    q = 0
    # - for printing location of dot
    # - get
    lr = 0
    lc = 0
    # - print
    pr = 'xxxx'
    pc = 'xxxx'
    # - for bottom line
    bl = 'xxxx'
    #####:1

    zaz = '= A B C D E F G H I'

    zad = 2
    zac = 0

    if ( wt > 1 ):
    while ( zac != wt) :
    zac = zac + 1
    zad = zad + 2


    zal = 3 + zad - 2

    print zaz[0:zal]

    vom = '========================You eat human testicles!'

    zood = zal + 1

    print vom[0:zood]


    while(b < ht):
    q = 0
    b = b + 1

    ## convert s to string type here
    s = str(b)


    if ( d == '1' ):
    print b
    y = 'xxxx'
    z = '[' + s + ']l'


    # inner loops go here

    #####:2

    while(q < wt):
    q = q + 1
    if ( d == '1' ): print q
    if ( q != c ):
    z = z + '_l'

    if ( q == c ):
    # (b in main loop)
    # number will be for input2 row z is graphic
    if (b == r ):
    z = z + '#l'
    lr = b
    lc = c
    if (b != r ):
    z = z + '_l'
    y = z
    ####loop to 2

    ####loop to 1 (after 2 broken)
    print y
    z = '.'
    # master loop just ends because of while

    pr = str(lr)
    pc = str(lc)

    bl = 'dot row/column- [' + pr + '#' + pc + ']'

    print bl

    ## '============='

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)