Commands

Top  Previous  Next

APPEND

Implemented. BLANK is automatically added. Works only in the current work area. New records are not added to the index file.

 

ASSERT

Implemented. Ignored in runtime.

 

CD

Implemented.

 

Difference to VFP: On Mono the directory name is case-sensitive. Drive mappings create with SET VOLUME are ignored.

 

CHDIR

Implemented.

 

Difference to VFP: On Mono the directory name is case-sensitive. Drive mappings create with SET VOLUME are ignored.

 

CLEAR

Implemented.

 

Difference to VFP: All text is currently written to the console window. CLEAR is ignored on mobile devices.

 

CLEAR EVENTS

Implemented

 

CLOSE DATABASES

Implemented. As DBCs are currently not supported, CLOSE DATABASES is identical to CLOSE DATABASES ALL.

 

CONTINUE

Implemented

 

COPY FILE

Implemented.

 

CREATE CURSOR

Implemented for character and numeric fields. Only the field name, type and size can be specified at the moment.

 

DEBUG

Implemented. Ignored in runtime.

 

DEBUGOUT

Implemented. Ignored in runtime.

 

DELETE

Implemented.

 

DELETE FILE

Implememted.

 

Difference to VFP: On Mono the file name is case-sensitive. Drive mappings create with SET VOLUME are ignored.

 

DEFINE CLASS

ADD OBJECT

Supports FXP files only. When building the project with GuineuIDE, all VCXes are automatically converted to FXP files. The DEFINE CLASS statements are generated.

 

Public properties can be set in the class definition.

 

The AS clause is supported. OF and OLEPUBLIC are currently ignored. ADD OBJECT is supported for public object. The NOINIT attribute is ignored.

 

DIMENSION

Implemented. PRIVATE and PUBLIC variables are not yet supported. All variables are created as LOCALs.

 

Use the PUBLIC command to create a public array.

 

DO CASE...ENDCASE

Implemented.

 

DO FORM

Implemented. Executes a name.SCX.PRG file that is automatically generated by GuineuIDE.

 

DO WHILE...ENDDO

Implemented.

 

DO

Implemented.

 

ERASE

Implemented.

 

ERROR

Implemented.

 

EXIT

 

Implemente.

FOR...ENDFOR

Implemented.

 

FOR...NEXT

Implemented.

 

Function()

Function calls are supported for built-in functions and user-defined procedures and functions.

 

FUNCTION...ENDFUNC

Implemented. Protected and hidden functions are not supported.

 

GATHER

Implemented.

 

GO | GOTO

Implemented.

 

IF...ELSE...ENDIF

Implemented.

 

INSERT - SQL

Implemented.

 

MKDIR

Implemented.

 

LOCAL

Implemented.

 

LOCATE

Implemented.

 

LOOP

Implemented.

 

LPARAMETERS

Implemented.

 

NODEFAULT

Implemented.

NOTE

Implemented.

 

PARAMETERS

Implemented.

?

Implemented.

 

Difference to VFP: All text is currently written to the console window. Future versions will provide two runtimes: One for text-based applications in which ? prints to the console window and one purely graphical one that redirect output to the current window.

 

??

Implemented.

 

Difference to VFP: All text is currently written to the console window. Future versions will provide two runtimes: One for text-based applications in which ?? prints to the console window and one purely graphical one that redirect output to the current window.

 

PUBLIC

Implemented.

 

PRIVATE

Implemented.

 

PROCEDURE...ENDPROC

Implemented.  Protected and hidden procedures are not supported.

 

READ EVENTS

Implemented.

 

REPLACE

Implemented.

 

RESTORE FROM

Implemented. Variables are all loaded as LOCALs.

 

RETURN

Implemented. The TO clause is ignored.

 

RUN

Implemented.

 

SAVE TO

Implemented.

 

SCAN...ENDSCAN

Implemented. The FOR clause is supported, but not optimized. None of the remaining clauses is currently working.

 

SCATTER

Implemented.

 

SEEK

Implemented for DBF files. String, numeric, date and datetime indexes are supported. Only collate sequence MACHINE is supported.

 

SELECT

Implemented. SQL-SELECT is not implemented.

 

SET BELL TO

Implemented.

SET CLASSLIB TO

Implemented.

 

Difference to VFP: Guineu loads .NET assemblies and makes them available to CREATEOBJECT().

 

SET COVERAGE TO

Implemented.

 

Difference to VFP: There is one more column with the command name. Guineu logs every line that compiles to binary tokens in the FXP file. This includes lines like ELSE, ENDIF, ENDPROC, ADD OBJECT, etc. Guineu does therefore create more lines in a log file.

 

SET DECIMALS TO

Implemented.

 

SET DELETED TO

Implemented.

 

SET EXACT

Implemented. Is not yet scoped to the current datasession. Not all comparisons take SET EXACT into account.

 

SET EXCLUSIVE

Implemented. Is not yet scoped to the current datasession.

 

SET FILTER TO

Implemented.

 

SET MEMOWIDTH

Implemented.

 

SET NOTIFY

Implemented.

 

SET NULLDISPLAY TO

 

Implemented.

SET ORDER TO

Implemented.

 

SET PATH TO

 

Implemented. ADDITIVE is ignored.

 

SET PROCEDURE TO

Implemented.

 

SET SAFETY

Implemented. Is not yet scoped to the current datasession.

 

SET STATUS

Implemented.

 

SET STATUS BAR

Implemented.

 

SET STEP ON

 

Implemented.

 

Difference to VFP: Breaks only if a Windows debugger (eg. Visual Studio) is attached to the process.

 

SET SYSFORMATS

Implemented. Is not yet scoped to the current datasession.

 

SET TALK

Implemented. Is not yet scoped to the current datasession.

 

SKIP

Implemented.

 

STORE

Implemented.

 

USE

Implemented. Field names are truncated to 10 characters.

 

Read operations are supported for all data types except for general fields. Those are treated as binary memo fields. Write operation are supported on all data types except Variants, double and floats.

 

Write operation do not update the index.

 

Variable assignment

Implemented. If a variable doesn't exist, it's created as a LOCAL variable instead of a PRIVATE.

 

WAIT

Implemented.

 

ZAP

Implemented. The index file is not yet updated and will be out of sync after ZAPping.