Hi guys i need a little back up on my code.. thankz4ur time

  • (2 Pages)
  • +
  • 1
  • 2

19 Replies - 578 Views - Last Post: 26 October 2013 - 08:43 AM Rate Topic: -----

#16 Adak  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 331
  • View blog
  • Posts: 1,168
  • Joined: 01-April 11

Re: Hi guys i need a little back up on my code.. thankz4ur time

Posted 26 October 2013 - 06:46 AM

pigsSold is a sum so line 56 needs to change from
pigsolds = cerdos [0][0] * 1



to

pigsolds += cerdos [0][0]


No * 1 is needed. ;)
Was This Post Helpful? 1
  • +
  • -

#17 Edisonpr93  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 88
  • Joined: 11-September 13

Re: Hi guys i need a little back up on my code.. thankz4ur time

Posted 26 October 2013 - 06:50 AM

View PostAdak, on 26 October 2013 - 06:46 AM, said:

pigsSold is a sum so line 56 needs to change from
pigsolds = cerdos [0][0] * 1



to

pigsolds += cerdos [0][0]


No * 1 is needed. ;)/>

omg it was on my face the hold time.. lol but everything else is fine right? cuz im thinking I may not need the second while loop I added
Was This Post Helpful? 0
  • +
  • -

#18 Adak  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 331
  • View blog
  • Posts: 1,168
  • Joined: 01-April 11

Re: Hi guys i need a little back up on my code.. thankz4ur time

Posted 26 October 2013 - 07:17 AM

I hate it when the pigs that are sold, get right onto my face! <LOL>

I'm not sure about the rest of the program. My Spanish is not that good. You should be able to see if it's working accurately or not.
Was This Post Helpful? 0
  • +
  • -

#19 Edisonpr93  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 88
  • Joined: 11-September 13

Re: Hi guys i need a little back up on my code.. thankz4ur time

Posted 26 October 2013 - 07:43 AM

View PostAdak, on 26 October 2013 - 07:17 AM, said:

I hate it when the pigs that are sold, get right onto my face! <LOL>

I'm not sure about the rest of the program. My Spanish is not that good. You should be able to see if it's working accurately or not.

haha yes it works great thankz man... now im trying to transform the pigs track keeper in to a function i need to have a function.. im gona make 1 and upload it so you can take a look.. ok?
Was This Post Helpful? 0
  • +
  • -

#20 Adak  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 331
  • View blog
  • Posts: 1,168
  • Joined: 01-April 11

Re: Hi guys i need a little back up on my code.. thankz4ur time

Posted 26 October 2013 - 08:43 AM

I'm about ready to leave. If you get stuck, post it. There are many here that will help.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2