Roberto Ierusalimschy
|
389e808c60
although an ANSI function, some systems do not offer "strerror"
|
29 years ago |
Roberto Ierusalimschy
|
450465c4d4
new parameters for "read" and "write". BIG CHANGE.
|
29 years ago |
Roberto Ierusalimschy
|
37bf74efb7
some compilers do not accept "stdin"/"stdout" as constants.
|
29 years ago |
Roberto Ierusalimschy
|
f025b0d160
"pushnil" is not needed (default return is nil).
|
29 years ago |
Roberto Ierusalimschy
|
9a1948e67d
small correction.
|
29 years ago |
Roberto Ierusalimschy
|
29f0021837
variables which contain string lengths must be long (if they also may
|
29 years ago |
Roberto Ierusalimschy
|
01ea523b80
small corrections.
|
29 years ago |
Roberto Ierusalimschy
|
3ec9ee0d0f
new function "luaI_openlib" to help open libs.
|
29 years ago |
Roberto Ierusalimschy
|
eadbb9cff4
"stat" is not ansi.
|
29 years ago |
Roberto Ierusalimschy
|
f37e65d1cb
"exit" has an optional parameter of status.
|
29 years ago |
Roberto Ierusalimschy
|
a275d9a25b
functions "lua_is..." consider coercions.
|
29 years ago |
Roberto Ierusalimschy
|
675e608325
new functions "rename" and "tmpname".
|
29 years ago |
Roberto Ierusalimschy
|
40306b10db
small corrections.
|
29 years ago |
Roberto Ierusalimschy
|
c7e834f424
function "write_quoted" rewritten more clearly.
|
29 years ago |
Roberto Ierusalimschy
|
168a865e60
more appropriate error message for "date"
|
29 years ago |
Roberto Ierusalimschy
|
73be918285
a backslash followed by a newline allows the newline to go into
|
29 years ago |
Roberto Ierusalimschy
|
ca412214cb
new function "date", replaces old "date" and "time".
|
29 years ago |
Roberto Ierusalimschy
|
5fa51fc426
new option "q" in function "write", to write literal strings.
|
29 years ago |
Roberto Ierusalimschy
|
55a70c9719
"read('s')" was "eating" delimiter.
|
29 years ago |
Roberto Ierusalimschy
|
be48c4d91e
add_char now is global.
|
29 years ago |
Roberto Ierusalimschy
|
cd54c95ee1
bug: "read" with format MUST read given number of chars (if file ends
|
29 years ago |
Roberto Ierusalimschy
|
0c3e0fd95d
"read" must return 'nil' on EOF.
|
30 years ago |
Roberto Ierusalimschy
|
f57afd6e32
re-implementation of functions "write" and "read"
|
30 years ago |
Roberto Ierusalimschy
|
f9a9bd77e4
print_stack now gets a parameter (file to print);
|
30 years ago |
Roberto Ierusalimschy
|
15d48576ea
functions now may be declared with any "var" as a name;
|
30 years ago |
Roberto Ierusalimschy
|
ebcf546a55
small changes in the format of debug information.
|
30 years ago |
Roberto Ierusalimschy
|
d80659759b
new module luadebug.h.
|
30 years ago |
Roberto Ierusalimschy
|
b074306267
bug. "fgets" reads n-1 chars.
|
30 years ago |
Roberto Ierusalimschy
|
ec785a1d65
new option for "writeto" and "readfrom", to allow piped I/O on
|
30 years ago |
Roberto Ierusalimschy
|
bb00cd66a7
function "stat" needs "sys/types.h"
|
30 years ago |