04-16-2005, 01:46 PM
Hi!
Not critical, for RapidQ compatibility only..
1. Increment, decrement statesment
INC Statement
--------------------------------------------------------------------------------
Increments numeric variable by one, or by the amount specified.
Syntax: INC(variable [, amount])
INC(I)
INC(I, 10)
-----------------------
2. I++ j-- increment and decrement
3. INP I/O Function Windows/Unix
--------------------------------------------------------------------------------
A device I/O function that returns the byte value read from an I/O port.
Syntax: INP(port)
A% = INP(&H3C9)
Details:
Port is any word value between 0 and 65535. Return value is in the range 0 to 255.
--------------------------------------------------------------------------------
INPW I/O Function Windows/Unix
--------------------------------------------------------------------------------
A device I/O function that returns the word value read from an I/O port.
Syntax: INPW(port)
A = INPW(&H3C9)
Details:
Port is any word value between 0 and 65535. Return value is also in the range 0 to 65535
--------------------------------------------------------------------------------
it's possible under Win9x only/, not under WinXP
4. DEFINT var1, var2 var3
Short form of
dim as integer var1, var2 var3
also
DEFBYTE, DEFDBL, DEFDWORD, DEFINT, DEFLNG, DEFSHORT, DEFSNG, DEFSTR, DEFWORD
Syntax: DEFINT variable[(subscripts)] [, ...]
DEFSTR A, B, C="Hello", D, E
DEFINT I=99, J(100,10), K
or possibility to redefine reserved keywords
as
#define defint dim as integer
WBR, Andrew
Not critical, for RapidQ compatibility only..
1. Increment, decrement statesment
INC Statement
--------------------------------------------------------------------------------
Increments numeric variable by one, or by the amount specified.
Syntax: INC(variable [, amount])
INC(I)
INC(I, 10)
-----------------------
2. I++ j-- increment and decrement
3. INP I/O Function Windows/Unix
--------------------------------------------------------------------------------
A device I/O function that returns the byte value read from an I/O port.
Syntax: INP(port)
A% = INP(&H3C9)
Details:
Port is any word value between 0 and 65535. Return value is in the range 0 to 255.
--------------------------------------------------------------------------------
INPW I/O Function Windows/Unix
--------------------------------------------------------------------------------
A device I/O function that returns the word value read from an I/O port.
Syntax: INPW(port)
A = INPW(&H3C9)
Details:
Port is any word value between 0 and 65535. Return value is also in the range 0 to 65535
--------------------------------------------------------------------------------
it's possible under Win9x only/, not under WinXP
4. DEFINT var1, var2 var3
Short form of
dim as integer var1, var2 var3
also
DEFBYTE, DEFDBL, DEFDWORD, DEFINT, DEFLNG, DEFSHORT, DEFSNG, DEFSTR, DEFWORD
Syntax: DEFINT variable[(subscripts)] [, ...]
DEFSTR A, B, C="Hello", D, E
DEFINT I=99, J(100,10), K
or possibility to redefine reserved keywords
as
#define defint dim as integer
WBR, Andrew