export FUNCTIONNAME

Started by Marc Van Cauwenberghe, November 14, 2004, 01:21:19 PM

Previous topic - Next topic

Marc Van Cauwenberghe

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

TechSupport

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.

Marc Van Cauwenberghe


Marc Van Cauwenberghe