English [DEV] Improved print() 1.1 icon

10 comments
17.02.13 03:00:17 am
like 8 like it!
402 b, 64 Downloads
VADemon
User
Offline Off
[Developer Tools] Improved print

The one and only feature:
provides the same print() functionality as the normal Lua does. Namely, you can now print multiple arguments and any type of argument (a table, boolean etc.) (Because I'm pissed off 'optimizing' the code for CS2D that I previously test in LuaDemo)

• Works with all types, replaces tabs (\t).
• The standard print() is still avaible under LUA_PRINT()

See screenshots for examples.

Install:
drop the print.lua into your /lua/autorun/ folder

Changelog 1.1: fixed for printing a single variable // oh, Flacko reported that first. Thank you then

Licensed under WTFPLv2 IMG:http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-2.png
imageimageimageimage
edited 13×, last 07.11.15 06:20:06 am
ok This file has been reviewed and approved by Seekay (04.12.15 01:23:39 am)

Comments

10 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
21.09.15 11:33:39 am
like I like it!
Up
Inflexion
User
Offline Off
Thanks VADemon for this awesome file!
Here's a like from my part.
31.08.14 03:43:23 pm
like I like it!
Up
Xirot
User
Offline Off
Looks really simple and nice.
31.08.14 12:46:33 pm
like I like it!
Up
Gasip
User
Offline Off
I like it thanks VADemon
17.02.13 04:31:30 pm
like I like it!
Up
G3tWr3ck3d
User
Offline Off
Good job
17.02.13 04:29:35 pm
Up
VADemon
User
Offline Off
@user Flacko:
Oh fuck. I thought I've reuploaded the fixed version yeasterday already
Due to testing I had to remove LUA_PRINT() from that line what first time caused CS2D to print about 10MB of crap to console
Im gonna reupload it right now
17.02.13 11:57:06 am
like I like it!
Up
EngiN33R
Moderator
Offline Off
Good tool, simple but neat.
17.02.13 10:46:41 am
like I like it!
Up
Flacko
User
Offline Off
I like it because of the license.
However, this line is causing a bug:
Code:
1
if #t==1 then return nil end --very small improvement


Passing a single parameter won't print anything
17.02.13 10:32:53 am
Up
Infinite Rain
Reviewer
Offline Off
I don't really see use of it.
17.02.13 09:08:42 am
like I like it!
Up
save72
BANNED
Offline Off
Wow, good
17.02.13 03:38:51 am
like I like it!
Up
sheeL
User
Offline Off
Good Job 5/5
To the start Previous 1 Next To the start