Re: Trying to resolving 6 Compiler Errors

Originally Posted by
Ramius
Hi All,
I am working with code written by another person and being new there are complier errors I am not sure how to resolve. I did post the questions under another title and there have been no answers so I thought maybe I would try here.
Line 62 has: high presspwr there is no pin defined as presspwr which pin should be used?
Line 195 has: d[17] = temp2.byte0 There is no array named d and I have never defined an array
Line 196 has: d[18] = temp2.byte1 '
Line 133 has: high pgc there is no pin defined as pgc which pin should be used?
Line 220 has: gosub shutdownmemory there is no sub-routine with this name
Line 221 has: gosub lowestpower there is no sub-routine with this name either end
My guess is these 2 lines should be deleted and a new line added that says gosub resetintersema so the program will continue to run without stopping?
Thanks to any and all who are willing to help and comment.
Best, Ed
223.
Hi Ed,
as Alain stated, you are missing some code.
pick you pins for the pin errors
you NEED to Make the array, since you ARE using it
You need to make the missing sub routines and have them do what they need to do.
EDIT:
I retract the above, you need to copy code that works, I think if you get this to compile you will see stack overflows due to failure of the original code to return from subroutines, the subs flow into one another and subs calling subs without returns
Last edited by Archangel; - 9th April 2011 at 21:02.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks