[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: run .lua
- From: "Cleber Vieira Baptista" <multisistemas@...>
- Date: Sun, 27 Jan 2008 10:56:46 -0200
Oi,
How do I execute a script .lua in Windows?
Name script busca.lua
**********************************************************************
* Hello and welcome to LuaCheia 5.0.1a5
* Platform: WINDOWS
* type =cheia.help() for more info
**********************************************************************
Lua 5.0.1 Copyright (C) 1994-2003 Tecgraf, PUC-Rio
LC>busca
>> exit
stdin:2: `=' expected near `exit'
LC>busca.lua
>> off
stdin:2: `=' expected near `off'
LC>run busca.lua
stdin:1: `=' expected near `busca'
LC>
* cheia.help
*
* LuaCheia is a full-featured, modular Lua distribution, using the
* standard Lua distribution as its core.
*
* * See http://luacheia.lua-users.org for more info.
*
* To exit, type 'os.exit()' Return or Ctrl-Z Return.
* Run with "luacheia5 -h" for a summary of command-line options.
* Type =cheia.load("modulename") to load a module.
* Type =cheia.self_test() to run self-tests on LuaCheia.
**********************************************************************
LC>luacheoa -h
stdin:1: `=' expected near `-'
LC>luacheia5 -h
stdin:1: `=' expected near `-'
LC>
Obrigado
--
Cleber