User Profile

Collapse

Profile Sidebar

Collapse
Cole
Cole
Last Activity: Aug 11 '08, 09:59 PM
Joined: Dec 21 '07
Location: canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Cole
    started a topic Instantiating for loop

    Instantiating for loop

    Is there a way to do this with some kind of a loop? thanks!

    Code:
        if refrence == "Loshlf_16": b=Loshlf_16.execute()
        elif refrence == "Loshlf_20": b=Loshlf_20.execute()
        elif refrence == "Loshlf_25": b=Loshlf_25.execute()
        elif refrence == "Loshlf_32": b=Loshlf_32.execute()
        elif refrence == "Loshlf_40": b=Loshlf_40.execute()
    ...
    See more | Go to post

  • Cole
    started a topic (wave module) readframes

    (wave module) readframes

    hey guys.

    when i use the readframes() function it returns bytecode. how would i convert that to integers???
    See more | Go to post

  • Cole
    replied to Variables in lists (for loop)?
    thanks for the help.
    I guess i will need to learn C++ and to be able to store empty variables in lists.

    i wanted to be able to do something like this

    Code:
    ... a = (("hello", 12, 14), ("hi", 6, 5),  ("yo", 3, 9))
                   for r in range(1,4):
                       a[r][0]= a[][2] + a[r][1]
                       ...
    This way i can use a for loop to assign multiple...
    See more | Go to post

    Leave a comment:


  • Cole
    started a topic Variables in lists (for loop)?

    Variables in lists (for loop)?

    Hey guys.

    Is it possible to assign variables to lists so i can use then in a for loop???

    Code:
    ... a = (("hello"), ("hi"), ("hey"))
                   a[0] = 3
                   a[1] = 4
                   a[2].= 5
                   print hello, hi, hey 
    3
    4
    5..
    Thanks for any help.
    See more | Go to post
No activity results to display
Show More
Working...