AFTER INSTALLING VERSION 6.6 (German) you should aply the patch for the international Version, which you will find on my homepage! NEW IN PROFAN 6.6 (since Version 6.0) ================= **** HTTP://WWW.PROFAN.DE **** PLEASE EXCUSE MY BAD ENGLISH! --------------- 1. INSTALLATION --------------- Choose for installation of the update the directory in wich you installed Version 6.0. ------------ 2. Overview ------------ Now there are Constants. There is no need for the LET anymore. Every Button or Dialogelement can have its own font. New commands and functions are CLEAR, @ADDR and @SHELLEXEC. ----------------------------------- 3. Changings in the IDE ----------------------- There is now Syntax-Highlighting. (Works only on lines less than 255 Chars.) A second Toolbar for quick search. ---------------------- 4. Better errorchecking in the compiler ---------------------- The Compiler will count open and close brackets, while and endwhile, if and endif. It will output an error, if there is missing something. -------------------------------- 5. New Commands -------------------------------- CONTINUE -------- Jumps to the beginning of the While-Loop. BREAK ----- Jumps behind the end of a WHILE-Loop. CLEAR V1[,V2,V3,V4...] ---------------------- V1, V2, ... Variables The Variables are reset to zero or empty string. DBSETMEMOWIDTH N ---------------- N: Memowidth (1..255) Sets the linelength in memofiels. DELETEOBJECT H -------------- H: Handle of Object (a font created by @CREATEFONT) You must kill every fontobject you created with @CREATEFONT before program ends. SETFONT H,F ----------- H - Handle of the Dialogelement F - Handle of the Fonts (created by @CREATEFONT) Sets the font of a dialogobject (i.e. buttons, editfields, etc.) SETSTYLE H,N ------------ H - Handle of the Dialogelement N - Style Styles are listed in the Help of PROFAN under @CONTROL -------------------------------- 6. New Functions -------------------------------- @ADDR(VAR) (ab 6.5) ---------- VAR: Variable Result: LongInt - Adress of the Variable Let A& = @Addr(N%) Let A& = @Addr(Namen$[0]) @ShellExec(S1,S2,N) (ab 6.1) ------------------- S1 - Document/Program S2 - Mode ("open", "print", "explore") N - Displaymode (as in @WinExec) Result: Integer Opens the program/document in the given mode. @CREATEFONT(S,N1,N2,N3,N4,N5) (ab 6.5) ----------------------------- S : String - Fontname N1 : Wert - Hights of the char N2 : Wert - Width of the char N3 : Wert - Bold? (0 .. 1) N4 : Wert - Italic? (0 .. 1) N5 : Wert - Underlined? (0 .. 1) Result: Integer - Handle of the Font Creates a font for using in SETFONT. @GETSTYLE(H) (ab 6.5) ------------ H - Handle of the Dialogelement Result: Longint - current Style of the Element ----------------------- 7. New Systemvariables (ab 6.5) ----------------------- %LastMessage- the last message after WAITINPUT, GETMESSAGE or PEEKMESSAGE. %CSRLIN - current line in textmode (BASIC: CSRLIN) %POS - current row in textmode (BASIC: POS(0)) %ERRORLEVEL - current Errorlevel ------------- 8. Operators (ab 6.5) ------------- Operators are allowed! 1. ^ (Power, as @POW) 2. MOD AND * / \ (NOTE: AND as Operator is logical, the Function @AND is binary) 3. OR + - (NOTE: OR as Operator is logical, the Function @OR is binary) 4. = > < 5. <> >= <= Brackets are allowed as in BASIC: LET C% = 5 * (A% + B%) NOTE: Differences in the strength of operators between BASIC and PROFAN. In BASIC the ">" is stronger than "AND", in PROFAN the "AND" is stronger, so it os neccesary to use brackets (like in PASCAL): BASIC: If A% > 6 AND A% <= 20 THEN ... End If PROFAN: If (A% > 6) AND (A% <= 20) ... EndIf If the sign "-" ist between parameters (so in the command WINDOW), it is neccesary to use brackets, if you will make a substraction: Window a%,(b% - 5) - (c% - 6),500