ReFox Help - Notes to decompilation
Notes to decompilation:
- comments are not compiled, so are not recovered.
- the word PROCEDURE may be replaced by the word FUNCTION
if the statement RETURN <expr> is found in the procedure body
- expression A[x] may be decompiled as A(x)
- leading 0's of numeric constants are omitted.
- compound statements are evaluated at compile time,
so A = 1 + 2 + 3 is decompiled as A = 6
- the order of clauses may change during the compile/decompile process
- preprocessor directives #IF, #ENDIF, #INCLUDE, #DEFINE are evaluated at compile time
- so
#DEFINE MAXITEMS 10
FOR nCount = 1 TO MAXITEMS
are decompiled as
FOR nCount = 1 TO 10
- lines with ‘&’ (macro substitution) and lines with error are not compiled, but copied to the p-code
- so
USE (TableName) EXCLUSIVE NOUPDATE ALIAS TableAlias
USE &TableName EXCLUSIVE NOUPDATE ALIAS TableAlias
are decompiled as
use excl noupd (TABLENAME) alia TABLEALIAS... reformatted
USE &TableName EXCLUSIVE NOUPDATE ALIAS TableAlias... exact copy
---
rexnotes.html