Are Seed7 programs portable?
Yes. Seed7 spares no effort to support portable programming. Several driver librarys assure that the access to operating system resources such as files, directorys, network, clock, keyboard, console and graphics are done in a portable way. Many functions are defined to avoid the need to use shell (and cmd.exe) commands. • Different ways to encode unicode strings (e.g.: UTF-8 or UTF-16) in system calls (e.g. fopen()/wopen()) are hidden from the programmer. • Seed7 defines portable funtions to copy, move and remove files, directory trees and files with other types. • The propertys of files such as size, type, time and mode can be obtained and changed with portable functions. • A forward slash is used as path delimiter on all operating systems and an attempt to use a backslash as path delimiter is an error. • Differences between UNIX sockets and winsockets are hidden and Seed7 sockets are files (as in UNIX). • Reading keys and key combinations such as ctrl-F1 from a text console or a grap