Proteus versions

Proteus is available in different versions: Ms-Dos™, Win32, Service, ISAPI, Unix™.

These are the main differences between the various versions:

Functions appearing only in the Ms-Dos™/Win32/Service/ISAPI versions
DIRGET(drive)
DRIVEGET()

interactive (console) functions


Functions appearing only in the Unix™ version
DIRGET()
LINK(file, link)
Functions appearing only in the Windows™ version DAO functions
other Win32-specific functions
Functions appearing only in the ISAPI version ISAPI calls

The functions SHORTNAME(pathname) and LONGNAME(pathname) are kept for compatibility only in the Unix™ version, where the value returned is always the value of the parameter specified.

The functions FATTRIB(pathname), CHMOD(pathname, flags), ISFILE(pathname), DIROPEN(pathname) and DIRLAST(h, field) have different flags, to take into account the differences between the operating systems.

It is important to note that:

There are no differences between the italian and english version, except for the error messages and the help.

If you want to write Proteus programs that can be run without modifications on different platforms, avoid using functions specific to a single version or adopt one of the following strategies:

; Save current directory to CurDir (under Dos/Windows™, the current
; drive is also specified)
!ifdef UNIX
   SET CurDir = FUNC("DIRGET")
!else
   SET CurDir = FUNC("DIRGET", FUNC("DRIVEGET"))
!endif
; Save current directory to CurDir (under Dos/Windows™, the current
; drive is also specified)
IF OS
  SET CurDir = FUNC("DIRGET", FUNC("DRIVEGET"))
ELSE
  SET CurDir = FUNC("DIRGET")
FI

If you need to access the interpreter version, use the predefined identifier VERSION.

Start of page Next topic Previous topic Contents Index
Midnight Lake iPhone Case Black Women Shoes Black Flat Shoes Leather Flats Black Patent Ballerinas Black Ballet Shoes Casual Shoes Black Shoes Women Balle Record Player Cufflinks Best iPhone XR Clear Cases iPhone XS/XS Max Leather Cases Sale Best iPhone 8/8 Plus Silicone Cases iPhone 7/7 Plus Cases & Screen Protector New Cases For iPhone 6/6 Plus iPhone 8 Case Sale iPhone Xr Case Online iPhone 7 Case UK Online iPhone X Case UK Sale iPhone X Case Deals iPhone Xs Case New Case For iPhone Xr UK Online Case For iPhone 8 UK Outlet Fashion Silver Cufflinks For Men Best Mens Cufflinks Outlet Online The Gold Cufflinks Shop Online Cheap Shirt Cufflinks On Sale Nice Wedding Cufflinks UK Online Top Black Cufflinks UK Online Mens Cufflinks Online Silver Cufflinks For Men Men Cufflinks UK Sale Gold Cufflinks UK Online Gold Cufflinks UK Silver Cufflinks UK Shirt Cufflinks Discount Online Mens Cufflinks Deals & Sales Girls Shoes For Dance Fashion Ballet Dance Shoes Best Ballet Flats Shoes UK Online Cheap Ballet Pointe Shoes UK Online Best Ballet Shoes Outlet Best Dance Shoes Sale Cheap Ballet Flats Sale UK Best Pointe Shoes Online UK Ballet Dance Shoes UK Shoes For Dance UK Best Ballet Slippers Shop Best Yoga Shoes Hotsell