哇咧...Too many local constants...?? |
答題得分者是:malanlk
|
Theodore
一般會員 發表:11 回覆:10 積分:4 註冊:2003-05-15 發送簡訊給我 |
|
malanlk
尊榮會員 發表:20 回覆:694 積分:577 註冊:2004-04-19 發送簡訊給我 |
http://www.sparkyowns.com/mpp/mpp710/mpp710rc5.txt 這篇跟你同樣的問題 i really didn't like this, and as much as i hated it i really didn't want to
rewrite all of the damn code. this one change had me working for 2 days almost
non stop - and when i was done it was too much code for delphi to handle. in
the end i was no longer able to build mcc.exe:
Error: Too many local constants. Use shorter procedures.
One or more of your procedures contain so many string constant expressions
that they exceed the compiler's internal storage limit. This can occur in
code that is automatically generated. To fix this, you can shorten your procedures or declare constant identifiers
instead of using so many literals in the code.
i have never in my life overloaded delphi. after another 2 or 3 hours i finally
managed to break the connection proceedure into smaller functions to satisfy
delphi's compiler - but you have no idea how many times i almost threw in the
towel and gave up on all of these changes. 其實, ㄧ個 procedure 寫的太長不是好習慣....
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |