Copyight
Protected by DMCA.COM
DO NOT copy as ANY formality
Copyright (c) 2022 by Tran Tuan Minh. All rights reserved About
Our team ready for TCompiler (future). Thanks for use
mailto:tuanminhthom27022012@gmail.com - Contact us
Welcome to TConsole Standard console Some basic command
In programming, though it's graphics or no then we still need print something to console/screen. And here is some example
logPrint.send(text)
logPrint.warn(warn)
(display as yellow)
logPrint.error(error)
(display as red)
Math
In TConsole, math is easiler:
mathAdd(li, i)
Addtion
mathSub(li, i)
Subraction
mathMul(li, i)
Multiply
mathDiv(li, i)
Division
Error, try, catch
In sometimes, we need errors. Like in JS, we have Try, Catch and createErr (another version of throw)
Everything still apply like in JS, except createErr
createErr.newError(error) // replace error with your error text
Module
Modul instead of Module, just replace name
Require/read folder
In TConsole, we using: requiFile(file) // replace file with your file
Read folder? readFolderSync(dir)
or readFolder(dir)
Config
Process: proc
Techinal Infomation: proc.proc.techinalInfomation
Module: proc.loadedModules
Process On: proc.on
Environment: proc.env
Info
Info: info
Others/Useless
Sleep: sleepyMode(ms)