So you basically want you table split up in separate values? The following code would do aswell:
local yourTable = {
"value 1";
"value 2";
"value 3";
}
local val_1, val_2, val_3 = unpack( yourTable )
unpack() is a builtin lua function, you can find some information
here - bottom half of the page.
I don't really know what you mean with 'Is NEI required to fix others' mods recipes' - NEI is just there to display all the registered recipes. Also it lets you do some tweaks, e.g. changing weather, time etc..
local val_1, val_2, val_3 = unpack( yourTable )
ur Code Returns Limited but i need Returns Infinitely it Returns How much Table is there
example : #var1 is 4, #var2 is 18 then i do
param1,param2,param3,param4=returnTable(var1)
param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,param_10,param_11,param_12,param_13,param_14,param_15,param_16,param_17,param_18=returnTable(var2)
so the API i talk about is how much Table Stored in Variable it returns How Much Stored Tables there, ill try ur code later (cuz ill update my minecraft forge & mods)
Hey Guys! i'm Confuse about this Things (cuz i'm not familiar this acronym)
is NEI is Really Required?
What made you think it was required?
You shouldn't need it, but it is by far the best mod for recipes, since it can automatically determine vanilla recipes, and plugins allow it to display modded machine recipes
It stands for Not Enough Items, which is a word play on the mod Too Many Items, which had the ability to only cheat in items (Don't think it can show recipes)
cuz after hear NEI on my bug Report in
http://www.computercraft.info/forums2/index.php?/topic/22512-173-bug-alert-lol-cant-craft-xd/page__p__210799#entry210799 you can see Comments Scenes are …, @Dan200 says "…NEI recipe bug… fixed…" that's why made me think it was required -__-
and Thanks for the Acronym , i feel refresh about "NEI"
(o_o) wait NEI is 3, Not Enough Items is 3 Sentence, it means 6, NEI's acronym "Enough" col is 6, so it says ENOUGH, and NEI word was Weird and i heard this word from song *..Watch me NEI NEI..* 2 NEI in that song my costomers in my Cafe dont stop playing that song so i want to tell them "Enough", it means 0_0 i was Fool, … , #illumiPizza_Confirmed
wieselkatze is right, you should be using the unpack() function.
But as to why
your function doesn't work, the "retset" string it constructs would end up looking like this:
return blabal,lololol,just example ;)/>/>,
Whereas you would
want it to look like this:
return "blabal","lololol","just example ;)/>/>"
The last line, "ls()", should also've been written as "return ls()".
Thanks ;D ill Fix my Code Later (cuz ill update my Minecraft Forge & Mods)