/GetSetWrappers

some fun with getters and setters

Primary Language4D

Wrappers with some getters and setters

Just to make code more object style, and have fun with computed class properties

cs.Date

$date:=cs.Date.new()

$value:=$date.year

$date.year:=2021

class documentation

cs.File

$file:=cs.File.new("/path/to/a/file/or/folder")

$name:=$file.fullName

$file.name:="hello"
$file.extension:="foo"

$file.parent:=Folder(...)