On 07/01/13 02:07, Jack Little wrote:
Here is the code, my error is below the code in itallics
That does not look like a normal Python error report. How are you
running this? If you are using an IDE it may be giving non standard
messages. It is usually better to run your code from a command l
On 01/06/2013 09:07 PM, Jack Little wrote:
> Here is the code, my error is below the code in itallics
This is a text mailing list, italics aren't generally visible. If you
want to highlight a line, add a useful comment to it.
But the problem here is your scoping. All those globals make no sens
And a second reply:
On 07/01/13 13:07, Jack Little wrote:
def simpstart():
global ammo
global health
global tech_parts
global radio_parts
This function does nothing. It declares four globals, and then ends. All
the subsequent lines of code are not indented, and so are not part of
On 07/01/13 13:07, Jack Little wrote:
Here is the code, my error is below the code in itallics
What italics? I see no italics.
Please don't rely on so-called "rich text" email (italics, fancy
fonts, different text sizes, etc), since it uses HTML code in your
email and many people turn off suc
On 7 January 2013 02:07, Jack Little wrote:
> Here is the code, my error is below the code in itallics
No explanation?
>
> #This is not free source
> #Don't cheat by looking at this
> #If you do you ruin the game
I was a little concerned when I read this part. I guess it's okay for
me to read o
Here is the code, my error is below the code in itallics
#This is not free source
#Don't cheat by looking at this
#If you do you ruin the game
#A Towel Production
# APOC
#---
global ammo1
global ammo2
global ammo3
global health
global tech_parts
global exp
global radio_parts
ammo1=10
ammo2=0