Animated Instruction


RE: Animated Instruction
#28
How register module to use in lua script via LDCAD.
Code:
-- get all lines from a file, returns an empty
-- list/table if the file does not exist
function io_lines_from(file)
  if not file_exists(file) then return {} end
  lines = {}
  for line in io.lines(file) do
    lines[#lines + 1] = line
  end
  return
PHP Code:
[string "model-build-animations.lua"]:108attempt to index a nil value (global 'io'
String "model-build-animations.lua"]:14: module 'io' not found:
    no field package.preload['io']
    no file '..\AppData\Roaming\LDCad\scripts\default\global\io.lua'
    no file '..\AppData\Roaming\LDCad\scripts\default\modules\io.lua'
    no file '..\LDCad\io.dll'
    no file '..\LDCad\..\lib\lua\5.3\io.dll'
    no file '..\LDCad\loadall.dll'
    no file '.\io.dll'
Script main run failed.
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Animated Instruction - by Jarema - 2018-03-04, 8:52
RE: Animated Instruction - by Jarema - 2018-03-04, 21:09
RE: Animated Instruction - by Michael Horvath - 2018-03-04, 23:18
RE: Animated Instruction - by Roland Melkert - 2018-03-04, 23:36
RE: Animated Instruction - by Jarema - 2018-03-05, 8:13
RE: Animated Instruction - by Steffen - 2018-03-05, 18:13
RE: Animated Instruction - by Jarema - 2018-03-05, 18:25
RE: Animated Instruction - by Travis Cobbs - 2018-03-06, 3:32
RE: Animated Instruction - by Jarema - 2018-03-05, 8:17
RE: Animated Instruction - by Jarema - 2018-03-05, 10:37
RE: Animated Instruction - by Jarema - 2018-03-05, 11:29
RE: Animated Instruction - by Roland Melkert - 2018-03-05, 19:18
RE: Animated Instruction - by Jarema - 2018-03-05, 16:55
RE: Animated Instruction - by Roland Melkert - 2018-03-05, 19:22
RE: Animated Instruction - by Jarema - 2018-03-05, 20:23
RE: Animated Instruction - by Roland Melkert - 2018-03-05, 22:55
RE: Animated Instruction - by Jarema - 2018-03-06, 8:44
RE: Animated Instruction - by Roland Melkert - 2018-03-06, 18:35
RE: Animated Instruction - by Jarema - 2018-03-06, 8:51
RE: Animated Instruction - by Roland Melkert - 2018-03-06, 18:37
RE: Animated Instruction - by Jarema - 2018-03-07, 9:18
RE: Animated Instruction - by Jarema - 2018-03-07, 20:14
RE: Animated Instruction - by Jarema - 2018-03-08, 10:46
RE: Animated Instruction - by Jarema - 2018-03-10, 20:19
RE: Animated Instruction - by Roland Melkert - 2018-03-10, 20:34
RE: Animated Instruction - by Jarema - 2018-03-10, 20:35
RE: Animated Instruction - by Roland Melkert - 2018-03-10, 21:06
RE: Animated Instruction - by Jarema - 2018-03-11, 10:22
RE: Animated Instruction - by Jarema - 2018-03-11, 14:03
RE: Animated Instruction - by Jarema - 2018-03-18, 7:50
RE: Animated Instruction - by Michael Horvath - 2018-03-19, 23:40
RE: Animated Instruction - by Jarema - 2018-03-20, 8:28
RE: Animated Instruction - by Jarema - 2018-03-20, 21:48
RE: Animated Instruction - by Roland Melkert - 2018-03-20, 22:19
RE: Animated Instruction - by Jarema - 2018-03-21, 12:48

Forum Jump:


Users browsing this thread: 7 Guest(s)