[Error] "Main Function Has More Than 200 Variables" is a gg

5 replies [Last post]
UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381
Hi D; ... Today [is it today dude ???] I Test my little TTS v2.7 in a Cafe Then i got terrible things when i add several Variables [17 Variable at once] Then Beep... ... ... I got that freaking little limitation massage This : [quote=Hedgewars D;] LUA ERROR : ... main function has more than 200 variables . [/quote] WTH Just Happened ??? Ok,,, i understand the massage BUT WHY THERE ARE A LIMITATION ON CUTE VARIABLES D-X !?!?! PS : I understand it,,, someone get another solutions ??? Someone help me find the solution,,, Or if 'I Do It Wrong' I sad here trying to make another codes mayhem in my TTS, WAS, TRS, WCAS, And other that need someone to care on them ;/ ... ]{
[center][color=#FFFFFF]╟───NW──────┼──────N╢[/color][/center] [float=left][color=#FFFFFF]╓──────────────────╖[/color][/float][float=right] [color=#FFFFFF]╓──────────────────╖[/color][/float] [float=left][color=#FFFF00]⠀HP:[/color] [color=#FF0000]██████████[/color] [color=#00FF00]1E9/1E9[/color][/float][float=right][color=#00FF00]1E9/1E9[/color] [color=#0000FF]██████████[/color] [color=#00FFFF]:MP [/color][/float] [float=left][color=#FFFFFF]╙──────────────────╜[/color][/float][float=right] [color=#FFFFFF]╙──────────────────╜[/color][/float]
Lyberta
Lyberta's picture
User offline. Last seen 3 years 29 weeks ago. Offline
Joined: 2016-09-10
Posts: 177
Wow, so little.
[url=https://lyberta.net]My stuff[/url]
UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381
Oh,,, Thank You Big Grin Get Them INTO Tables ;/ Gotta make something more complicated (I Hate Tables 'when' it harder to render what inside,,, But i like when it wasn't a Multi-Dimensional Table that can be rendered easily, nvm (lol)),,, But better than "Stop At That Line" Ok then,,, i got it, but why there are a limitation Which is 'LOW' for Variables (In a Function though) ? Cannot being Higher eh ? Not a big deal but, oh Virtual Machine Bytecodes, just please let me do it D; on a Skyscraper... I Think it was the only way then,,, thanks ^^ ]{
[center][color=#FFFFFF]╟───NW──────┼──────N╢[/color][/center] [float=left][color=#FFFFFF]╓──────────────────╖[/color][/float][float=right] [color=#FFFFFF]╓──────────────────╖[/color][/float] [float=left][color=#FFFF00]⠀HP:[/color] [color=#FF0000]██████████[/color] [color=#00FF00]1E9/1E9[/color][/float][float=right][color=#00FF00]1E9/1E9[/color] [color=#0000FF]██████████[/color] [color=#00FFFF]:MP [/color][/float] [float=left][color=#FFFFFF]╙──────────────────╜[/color][/float][float=right] [color=#FFFFFF]╙──────────────────╜[/color][/float]
UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381
Right,,, FACT : Idk to use "." as a Sugar for Variables 'Before' [e.g game.nvm] Then you have explain it to me Smile)) The Solution got an Example. Thanks for the example Big Grin Maybe the Thing that makes me to use 'Single' not 'Array' variables such table Because i wanna see my scripts "Easier to Remembered Again" Which mean, i screwed easily,,, So i make it "Completely Easy 'For Me'" To render again after i leave it,,, AND When i got Problem, Single Variable solved as fast as a blink,,, Which Table is Harder for me to do it,,, But not Impossible, as my experience 75% My Common Problem 'When Testing' was from Table,,, But Table is More Simple Form, and that actually have solve my problem here, In Conclusion ... [If you don't understand what above mean to,,, Then Click Dislike, cuz i'am NOT Understand too xD [UltiMaxKom Click Dislike Twice]] Do you Two are "Programmer" ??? I guess so C; Good Programming ^^ !!! ]{
[center][color=#FFFFFF]╟───NW──────┼──────N╢[/color][/center] [float=left][color=#FFFFFF]╓──────────────────╖[/color][/float][float=right] [color=#FFFFFF]╓──────────────────╖[/color][/float] [float=left][color=#FFFF00]⠀HP:[/color] [color=#FF0000]██████████[/color] [color=#00FF00]1E9/1E9[/color][/float][float=right][color=#00FF00]1E9/1E9[/color] [color=#0000FF]██████████[/color] [color=#00FFFF]:MP [/color][/float] [float=left][color=#FFFFFF]╙──────────────────╜[/color][/float][float=right] [color=#FFFFFF]╙──────────────────╜[/color][/float]
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]