mirror of
https://github.com/weyne85/DML.git
synced 2025-10-29 16:57:49 +00:00
Version 0.995
Watchflags
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
dcsCommon = {}
|
||||
dcsCommon.version = "2.5.6"
|
||||
dcsCommon.version = "2.5.7"
|
||||
--[[-- VERSION HISTORY
|
||||
2.2.6 - compassPositionOfARelativeToB
|
||||
- clockPositionOfARelativeToB
|
||||
@@ -66,6 +66,7 @@ dcsCommon.version = "2.5.6"
|
||||
- stringStartsWithLetter()
|
||||
- stringIsPositiveNumber()
|
||||
2.5.6 - corrected stringEndsWith() bug with str
|
||||
2.5.7 - point2text(p)
|
||||
|
||||
--]]--
|
||||
|
||||
@@ -1772,6 +1773,15 @@ dcsCommon.version = "2.5.6"
|
||||
return "no"
|
||||
end
|
||||
|
||||
function dcsCommon.point2text(p)
|
||||
if not p then return "<!NIL!>" end
|
||||
local t = "[x="
|
||||
if p.x then t = t .. p.x .. ", " else t = t .. "<nil>, " end
|
||||
if p.y then t = t .. p.y .. ", " else t = t .. "<nil>, " end
|
||||
if p.z then t = t .. p.z .. "]" else t = t .. "<nil>]" end
|
||||
return t
|
||||
end
|
||||
|
||||
-- recursively show the contents of a variable
|
||||
function dcsCommon.dumpVar(key, value, prefix, inrecursion)
|
||||
if not inrecursion then
|
||||
|
||||
Reference in New Issue
Block a user