http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Game and Program Discussion \ My Game

Click here to log in (you must be logged in to post comments).

AuthorComment
superking17
Probe
Posted: 6 May 2007
11:18 GMT
Total Posts: 2
I'm Having Trouble....Some Help...Either not enough or too many "EndIf"s.

http://www.freewebs.com/bensstorage1/main.biogame.89p

Please Help

--Ben
Barrett
Administrator
avatar
Posted: 6 May 2007
11:46 GMT
Total Posts: 1676
look at the things you've changed since the last time it worked.

---
-Barrett A
superking17
Probe
Posted: 6 May 2007
13:24 GMT
Total Posts: 2
I added nearly 4000 lines of code...
I need people to help me look...

--Ben
threefingeredguy
Ghost
avatar
Posted: 6 May 2007
13:37 GMT
Total Posts: 1189
As appealing as that sounds I'm afraid I'm gonna have to pass.

---
Someone call for an exterminator?
dprog
Marine
avatar
Posted: 6 May 2007
16:57 GMT
Total Posts: 49
oh boy, i love fixing things!?
haveacalc
Guardian
avatar
Posted: 6 May 2007
17:10 GMT
Total Posts: 1111
Do you know 89 BASIC?

---
-quoted directly from most movies that don't exist (and some that do).
dprog
Marine
avatar
Posted: 6 May 2007
17:33 GMT
Total Posts: 49
of course, im lookin at ur source right now
dprog
Marine
avatar
Posted: 6 May 2007
17:49 GMT
Total Posts: 49
Noooo! ....so...much...source...
;)
U just have a lot of confusiong places, like

:If condition Then
:If condition 2 Then
:block
:EndIf
:EndIf

u can simplify that to:

:If condition
:If condition 2 Then
:block
:EndIf

its a lot easier to read that way
haveacalc
Guardian
avatar
Posted: 6 May 2007
18:05 GMT
Total Posts: 1111
Or, even better:
If condition and condition 2 Then
block
EndIf
Wow, it's been a while since I've used my 89.

---
-quoted directly from most movies that don't exist (and some that do).
dprog
Marine
avatar
Posted: 11 May 2007
13:06 GMT
Total Posts: 49
yah, haveacalc is right.

change:

If condition Then
If condition2 Then
block
EndIf

to:

If condition and condition2 Then
block
EndIf

Just repeating haveacalc and clearing stuff up =]





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org