Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Check to textutils.tabulate/pagedTabulate #412

wants to merge 2 commits into
base: master


Copy link

@JakobDev JakobDev commented Aug 10, 2017

No description provided.

@@ -122,6 +122,9 @@ local function tabulateCommon( bPaged, ... )
for n, t in ipairs( tAll ) do
if type(t) == "table" then
for n, sItem in pairs(t) do
if type( sItem ) ~= "number" and type( sItem ) ~= "string" then
error( "textutils.tabulate/pagedTabulate only allow strings and numbers in the table", 3 )

This comment has been minimized.


dan200 Aug 27, 2017

Please only allow strings here, and format the error message more standardly.

This comment has been minimized.


BombBloke Aug 27, 2017

Why only strings, all of a sudden? What happened to "no breaking changes"?

This comment has been minimized.


JakobDev Aug 31, 2017
Author Contributor

What should the message look like? e.g bad argument #Position.Position in Table (expected string, got foo)?

Copy link
Contributor Author

@JakobDev JakobDev commented Sep 12, 2017

@dan200 Changes are now done

ccserver pushed a commit to ccserver/ComputerCraft that referenced this pull request Sep 16, 2019
Add Check to textutils.tabulate/pagedTabulate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.