how to get the size of a file

in applescript, if you want to get the size of a file, you do this:

tell application “Finder”
set fileSize to size of file “256_SSD:Users:shawn:Desktop:jedi prog”
end tell

how to do you do this with XOJO

You use a FolderItem and check the Length property:

Example FileSize
Drop a File to the Window