PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marc Van Cauwenberghe on November 14, 2004, 01:21:19 PM

Title: export FUNCTIONNAME
Post by: Marc Van Cauwenberghe on November 14, 2004, 01:21:19 PM
Hello,

another problem I encountered during my transition from old code to firefly:

In a *.inc file I have something like:

TYPE ExportOptiesType
Preview AS integer
Timed AS STRING * 3
DbaseDir AS ASCIIZ * 255
StafilDir AS ASCIIZ * 255
StatabDir AS ASCIIZ * 255
OutFiles as ASCIIZ * 255
Protocols as ASCIIZ * 255
ProDir as ASCIIZ * 255
TargetDB as asciiz * 255
Kort as integer
Formaat as integer
LookFor as string * 3
OneFile as integer
END TYPE

DECLARE SUB GetExportOpties (ExOpt AS ExportOptiesType)


When I compile this I get the error 524
Undifined Type
DECLARE SUB GetExportOpties (ExOpt AS OptiesType)

The compiler thinks I have coded

DECLARE SUB GetExportOpties (ExOpt AS Export OptiesType)

Marc
Title: export FUNCTIONNAME
Post by: TechSupport on November 14, 2004, 03:11:02 PM
That's interesting. I'll save your example and try it myself. Maybe the parser is failing to recognize the 'export' is part of the variable.

I'll fix ASAP.
Title: export FUNCTIONNAME
Post by: Marc Van Cauwenberghe on November 14, 2004, 03:39:34 PM
Thanks,

Marc
Title: export FUNCTIONNAME
Post by: Marc Van Cauwenberghe on November 24, 2004, 01:21:11 PM
It's fixed

Thank you Paul.